Fix MSVC warnings

git-svn-id: https://svn.eduke32.com/eduke32@5882 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2016-10-09 00:15:06 +00:00
parent 48a2152660
commit cf6790b23e
1 changed files with 4 additions and 4 deletions

View File

@ -5303,7 +5303,7 @@ HORIZONLY:;
if (VM_OnEvent(EVENT_LOOKUP,pPlayer->i,playerNum) == 0)
{
pPlayer->return_to_center = 9;
pPlayer->horiz += 12<<(TEST_SYNC_KEY(playerBits, SK_RUN));
pPlayer->horiz += 12<<(int)(TEST_SYNC_KEY(playerBits, SK_RUN));
centerHoriz++;
}
}
@ -5313,7 +5313,7 @@ HORIZONLY:;
if (VM_OnEvent(EVENT_LOOKDOWN,pPlayer->i,playerNum) == 0)
{
pPlayer->return_to_center = 9;
pPlayer->horiz -= 12<<(TEST_SYNC_KEY(playerBits, SK_RUN));
pPlayer->horiz -= 12<<(int)(TEST_SYNC_KEY(playerBits, SK_RUN));
centerHoriz++;
}
}
@ -5322,7 +5322,7 @@ HORIZONLY:;
{
if (VM_OnEvent(EVENT_AIMUP,pPlayer->i,playerNum) == 0)
{
pPlayer->horiz += 6<<(TEST_SYNC_KEY(playerBits, SK_RUN));
pPlayer->horiz += 6<<(int)(TEST_SYNC_KEY(playerBits, SK_RUN));
centerHoriz++;
}
}
@ -5331,7 +5331,7 @@ HORIZONLY:;
{
if (VM_OnEvent(EVENT_AIMDOWN,pPlayer->i,playerNum) == 0)
{
pPlayer->horiz -= 6<<(TEST_SYNC_KEY(playerBits, SK_RUN));
pPlayer->horiz -= 6<<(int)(TEST_SYNC_KEY(playerBits, SK_RUN));
centerHoriz++;
}
}