From 2f61653caec59d25ac4a0acbaa10bf360fe0d653 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 3 Nov 2010 23:27:31 +0000 Subject: [PATCH] - fixed: AdjustPusher compared a sector's index with a tag to check for existing pushers in that sector. SVN r2976 (trunk) --- src/p_lnspec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_lnspec.cpp b/src/p_lnspec.cpp index d71bfbf73..a7f799c8b 100644 --- a/src/p_lnspec.cpp +++ b/src/p_lnspec.cpp @@ -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)