diff --git a/polymer/eduke32/source/testgame/src/game.c b/polymer/eduke32/source/testgame/src/game.c index 81805aef9..d4095b74c 100644 --- a/polymer/eduke32/source/testgame/src/game.c +++ b/polymer/eduke32/source/testgame/src/game.c @@ -2547,7 +2547,7 @@ void statuslistcode(void) day = sintable[sprite[i].ang]*l; osectnum = sprite[i].sectnum; - movestat = movesprite((short)i,dax,day,0L,-8L<<8,-8L<<8,CLIPMASK0); + movestat = movesprite((short)i,dax,day,0L,-(8L<<8),-(8L<<8),CLIPMASK0); sprite[i].z = globloz; if ((sprite[i].sectnum != osectnum) && (sector[sprite[i].sectnum].lotag == 10)) { @@ -3345,7 +3345,7 @@ void processinput(short snum) goalz = globloz-(8<<8); if (pos[snum].z >= goalz-(2<<8)) { - clipmove(&pos[snum],&cursectnum[snum],-TICSPERFRAME<<14,-TICSPERFRAME<<14,128L,4<<8,4<<8,CLIPMASK0); + clipmove(&pos[snum],&cursectnum[snum],-(TICSPERFRAME<<14),-(TICSPERFRAME<<14),128L,4<<8,4<<8,CLIPMASK0); if (slimesoundcnt[snum] >= 0) { @@ -4380,7 +4380,7 @@ void fakedomovethings(void) { goalz = globloz-(8<<8); if (my.z >= goalz-(2<<8)) - clipmove(&my,&mycursectnum,-TICSPERFRAME<<14,-TICSPERFRAME<<14,128L,4<<8,4<<8,CLIPMASK0); + clipmove(&my,&mycursectnum,-(TICSPERFRAME<<14),-(TICSPERFRAME<<14),128L,4<<8,4<<8,CLIPMASK0); } if (goalz < globhiz+(16<<8)) //ceiling&floor too close goalz = ((globloz+globhiz)>>1);