git-svn-id: https://svn.eduke32.com/eduke32@1022 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-08-24 22:44:37 +00:00
parent bdb2f26c13
commit 1ba3e3aef2
2 changed files with 3 additions and 5 deletions

View file

@ -7596,7 +7596,7 @@ void moveobjects(void)
} }
while (i >= 0); while (i >= 0);
} }
while (--k); while (k--);
} }
doanimations(); doanimations();

View file

@ -4988,8 +4988,7 @@ static int parse(void)
case CON_FALL: case CON_FALL:
insptr++; insptr++;
g_sp->xoffset = 0; g_sp->xoffset = g_sp->yoffset = 0;
g_sp->yoffset = 0;
j = gc; j = gc;
@ -5006,8 +5005,7 @@ static int parse(void)
if (g_sp->z < (hittype[g_i].floorz-FOURSLEIGHT)) if (g_sp->z < (hittype[g_i].floorz-FOURSLEIGHT))
{ {
g_sp->zvel += j; g_sp->z += g_sp->zvel += j;
g_sp->z+=g_sp->zvel;
if (g_sp->zvel > 6144) g_sp->zvel = 6144; if (g_sp->zvel > 6144) g_sp->zvel = 6144;