mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Another fish ai fix
This commit is contained in:
parent
0a4129ff56
commit
865ca92b33
1 changed files with 2 additions and 2 deletions
|
@ -549,7 +549,7 @@ void FuncFish(int a, int nDamage, int nRun)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nVal != 0x30000)
|
if ((nVal & 0x30000) == 0)
|
||||||
{
|
{
|
||||||
if ((nVal & 0xC000) == 0x8000)
|
if ((nVal & 0xC000) == 0x8000)
|
||||||
{
|
{
|
||||||
|
@ -575,7 +575,7 @@ void FuncFish(int a, int nDamage, int nRun)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (nVal == 0x20000)
|
else if (nVal & 0x20000)
|
||||||
{
|
{
|
||||||
IdleFish(nFish, -1);
|
IdleFish(nFish, -1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue