mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Fix A_CheckEnemyTile() returning 1 for "fixed" sprites (see r1913).
Those sprites are usually decorative, and certainly not enemies! git-svn-id: https://svn.eduke32.com/eduke32@2667 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
83aa5d2c18
commit
2963e2874d
1 changed files with 2 additions and 2 deletions
|
@ -7882,8 +7882,8 @@ int32_t A_CheckEnemyTile(int32_t pn)
|
|||
{
|
||||
//this case can't be handled by the dynamictostatic system because it adds
|
||||
//stuff to the value from names.h so handling separately
|
||||
if (A_CheckSpriteTileFlags(pn, SPRITE_BADGUY) ||
|
||||
ActorType[pn] ||
|
||||
if (A_CheckSpriteTileFlags(pn, SPRITE_BADGUY) ||
|
||||
(ActorType[pn]&3) ||
|
||||
(pn >= GREENSLIME && pn <= GREENSLIME+7))
|
||||
return 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue