mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
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:
parent
ac1c5d63dd
commit
39f00bcb35
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue