- 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
1 changed files with 1 additions and 1 deletions

View File

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