Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better check of monsters near moving sector
Just check monsters on the periphery of a moving sector instead of all in bounding box of the sector. Both more accurate and faster. Taken from PrBoom+ source.
- Loading branch information
1 parent
536293b
commit ee6439e
Showing
2 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -333,6 +333,8 @@ typedef struct mobj_s | |
int bobdirection; | ||
int bobcount; | ||
|
||
boolean visited; | ||
|
||
} mobj_t; | ||
|
||
|
||
|