From 9e6f366ec43603d8054ad4789bc69f7b3d07be38 Mon Sep 17 00:00:00 2001 From: driAn Date: Sun, 3 Jun 2007 08:36:59 +0000 Subject: [PATCH] no message git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1104 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/savegamedemo.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/src/savegamedemo.cpp b/source/src/savegamedemo.cpp index a4b0916d..d58abe9f 100644 --- a/source/src/savegamedemo.cpp +++ b/source/src/savegamedemo.cpp @@ -320,7 +320,8 @@ void demoplaybackstep() target->lastattackgun = gzget(); target->gunwait = gzgeti(); target->lastaction = scaletime(gzgeti()); - ASSERT(target->lastaction >= 0); + //ASSERT(target->lastaction >= 0); + if(target->lastaction < 0) target->lastaction = 0; target->lastanimswitchtime[0] = scaletime(gzgeti()); target->lastanimswitchtime[1] = scaletime(gzgeti()); loopi(NUMGUNS) { target->ammo[i] = gzget(); target->mag[i] = gzget(); } @@ -332,7 +333,8 @@ void demoplaybackstep() { case GUN_GRENADE: target->thrownademillis = scaletime(gzgeti()); - target->inhandnade = gzget() ? (bounceent *)1 : NULL; + gzget(); + //target->inhandnade = gzget() ? (bounceent *)1 : NULL; // wtf? fixme break; case GUN_PISTOL: if(player1->akimbo)