Skip to content

Commit

Permalink
*** empty log message ***
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk@1141 e016b1c5-ed68-44aa-a2f7-31cac88cffde
  • Loading branch information
lsalzman committed Jun 5, 2007
1 parent 2eb70c7 commit 420e86f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ac/source/src/clients2c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,13 @@ void parsepositions(ucharbuf &p)
f >>= 2;
d->onfloor = f&1;
f >>= 1;
int state = f&7;
if(state==CS_DEAD && d->state!=CS_DEAD) d->lastaction = lastmillis;
int oldstate = d->state, state = f&7;
if(state==CS_DEAD && oldstate!=CS_DEAD) d->lastaction = lastmillis;
d->state = state;
f >>= 3;
d->onladder = f&1;
if(!demoplayback) updatepos(d);
if(d->state!=CS_DEAD) updatelagtime(d);
if(oldstate!=CS_DEAD && d->state!=CS_DEAD) updatelagtime(d);
break;
}

Expand Down

0 comments on commit 420e86f

Please sign in to comment.