mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-23 07:30:40 +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
|
//this case can't be handled by the dynamictostatic system because it adds
|
||||||
//stuff to the value from names.h so handling separately
|
//stuff to the value from names.h so handling separately
|
||||||
if (A_CheckSpriteTileFlags(pn, SPRITE_BADGUY) ||
|
if (A_CheckSpriteTileFlags(pn, SPRITE_BADGUY) ||
|
||||||
ActorType[pn] ||
|
(ActorType[pn]&3) ||
|
||||||
(pn >= GREENSLIME && pn <= GREENSLIME+7))
|
(pn >= GREENSLIME && pn <= GREENSLIME+7))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue