KenBuild: Address "warning: shifting a negative signed value is undefined [-Wshift-negative-value]".

git-svn-id: https://svn.eduke32.com/eduke32@5741 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-05-23 04:46:41 +00:00
parent ac1c5d63dd
commit 39f00bcb35

View file

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