From d8c03ba267e3c04e78f08949626657e40446a465 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 10 Jun 2016 18:23:15 +0000 Subject: [PATCH] Duke3D: Restore some accidentally-working cases of SEs 5, 6, 14, and 30 broken in r3161. git-svn-id: https://svn.eduke32.com/eduke32@5773 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index f350edf87..cd422876e 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -3148,7 +3148,7 @@ int32_t A_Spawn(int32_t j, int32_t pn) { if (wall[ s ].nextsector >= 0 && sector[ wall[ s ].nextsector].hitag == 0 && - sector[ wall[ s ].nextsector].lotag < 3) + (int16_t)sector[ wall[ s ].nextsector].lotag < 3) { #ifdef YAX_ENABLE outerwall = wall[s].nextwall; @@ -3158,6 +3158,7 @@ int32_t A_Spawn(int32_t j, int32_t pn) break; } } + #ifdef YAX_ENABLE actor[i].t_data[9] = -1;