ref: dddd52e3de5ce75a226c8cba326610706f59586b
parent: 04e45448d447b1def481f0ed9e44a492543cb075
author: Rohit Nirmal <[email protected]>
date: Thu May 21 09:51:31 EDT 2015
Fix door animation. This allows one of E2M5's early doors to fully open and allow the player to pass.
--- a/Game/src/sector.c
+++ b/Game/src/sector.c
@@ -849,13 +849,13 @@
if ( (sptr->lotag&0x8000) )
{
q = (sptr->ceilingz+sptr->floorz)>>1;
- // j = setanimation(sn,&sptr->floorz,q,sptr->extra);
+ j = setanimation(sn,&sptr->floorz,q,sptr->extra);
j = setanimation(sn,&sptr->ceilingz,q,sptr->extra);
}
else
{
q = sector[nextsectorneighborz(sn,sptr->floorz,1,1)].floorz;
- // j = setanimation(sn,&sptr->floorz,q,sptr->extra);
+ j = setanimation(sn,&sptr->floorz,q,sptr->extra);
q = sector[nextsectorneighborz(sn,sptr->ceilingz,-1,-1)].ceilingz;
j = setanimation(sn,&sptr->ceilingz,q,sptr->extra);
}