mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +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 (nTarget != -1)
|
||||||
{
|
{
|
||||||
if (!(sprite[nTarget].cstat & 0x101) || sprite[nTarget].sectnum == kMaxSectors)
|
if (!(sprite[nTarget].cstat & 0x101) || sprite[nTarget].sectnum == MAXSECTORS)
|
||||||
{
|
{
|
||||||
Ra[nPlayer].nTarget = -1;
|
Ra[nPlayer].nTarget = -1;
|
||||||
if (!field_0 || field_0 == 3) {
|
if (!field_0 || field_0 == 3) {
|
||||||
|
|
Loading…
Reference in a new issue