- fixed: AdjustPusher compared a sector's index with a tag to check for existing pushers in that sector.

SVN r2976 (trunk)
This commit is contained in:
Christoph Oelckers 2010-11-03 23:27:31 +00:00
parent c09a56ebe0
commit 2f61653cae

View file

@ -1897,7 +1897,7 @@ void AdjustPusher (int tag, int magnitude, int angle, DPusher::EPusher type)
unsigned int i; unsigned int i;
for (i = 0; i < numcollected; i++) for (i = 0; i < numcollected; i++)
{ {
if (Collection[i].RefNum == sectors[secnum].tag) if (Collection[i].RefNum == sectors[secnum].sectornum)
break; break;
} }
if (i == numcollected) if (i == numcollected)