PCExhumed: Corrected sector tag number handling for enemy death triggered sectors. Fixes issue #328

This commit is contained in:
sirlemonhead 2020-02-24 19:33:35 +00:00 committed by Christoph Oelckers
parent 2f91c2f696
commit 999840a9b5

View file

@ -1300,7 +1300,7 @@ void runlist_ProcessSectorTag(int nSector, int nLotag, int nHitag)
// Fall through to case 62 // Fall through to case 62
fallthrough__; fallthrough__;
} }
case 62: case 63: // Ceiling door, kill trigger (Enemy death triggers door)
{ {
if (nLotag == 63) { if (nLotag == 63) {
nEnergyChan = nChannel; nEnergyChan = nChannel;
@ -1358,7 +1358,7 @@ void runlist_ProcessSectorTag(int nSector, int nLotag, int nHitag)
return; return;
} }
case 63: case 62:
{ {
zListA[0] = sector[nSector].floorz; zListA[0] = sector[nSector].floorz;
int var_20 = 1; int var_20 = 1;