shithub: duke3d

Download patch

ref: dd086a88177f7dca1a0a845959df7b44fc6d89d7
parent: 04e45448d447b1def481f0ed9e44a492543cb075
parent: dddd52e3de5ce75a226c8cba326610706f59586b
author: Fabien <[email protected]>
date: Thu May 21 09:36:37 EDT 2015

Merge pull request #37 from rohit-n/fix-door

Fix door animation.

--- 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);
             }