- Blood: Fix off-by-one error in trProcessBusy() loop.

* Originated from 0beb91e17e.
This commit is contained in:
Mitchell Richters 2022-01-16 23:44:53 +11:00
parent a20a56d9e7
commit f91f3eacca

View file

@ -2130,7 +2130,7 @@ void trProcessBusy(void)
{
sect.velCeil = sect.velFloor = 0;
}
for (int i = gBusy.Size(); i >= 0; i--)
for (int i = gBusy.Size()-1; i >= 0; i--)
{
int nStatus;
int oldBusy = gBusy[i].busy;