- fixed: The numcommands value in A_KoraxCommand needs to be decremented by one because the max parameter of the random function is inclusive.

This commit is contained in:
Christoph Oelckers 2019-07-25 20:42:41 +02:00
parent 4cfc650f5b
commit b4aacb7be5

View file

@ -363,11 +363,11 @@ class Korax : Actor
if (health <= (SpawnHealth() >> 1))
{
numcommands = 5;
numcommands = 4;
}
else
{
numcommands = 4;
numcommands = 3;
}
ACS_Execute(250 + (random[KoraxCommand](0, numcommands)), 0);