mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Use engine's MAXSECTORS value in MoveRaToEnemy
This commit is contained in:
parent
865ca92b33
commit
426570729e
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ void MoveRaToEnemy(short nPlayer)
|
|||
|
||||
if (nTarget != -1)
|
||||
{
|
||||
if (!(sprite[nTarget].cstat & 0x101) || sprite[nTarget].sectnum == kMaxSectors)
|
||||
if (!(sprite[nTarget].cstat & 0x101) || sprite[nTarget].sectnum == MAXSECTORS)
|
||||
{
|
||||
Ra[nPlayer].nTarget = -1;
|
||||
if (!field_0 || field_0 == 3) {
|
||||
|
|
Loading…
Reference in a new issue