Restore a cast I didn't realize used to be there

This commit is contained in:
lachablock 2022-01-13 09:56:47 +11:00
parent 70a1dd6db0
commit 4af820e82c

View file

@ -1556,7 +1556,7 @@ void G_BuildTiccmd(ticcmd_t *cmd, INT32 realtics, UINT8 ssplayer)
}
if (player->bot == BOT_2PHUMAN)
cmd->angleturn = (localangle - *myangle) >> 16;
cmd->angleturn = (INT16)((localangle - *myangle) >> 16);
*myangle += (cmd->angleturn<<16);