Fix lol xd compiler errors

This commit is contained in:
James R 2020-04-07 17:06:20 -07:00
parent 8a1f40b90f
commit 4b68b41a31
2 changed files with 9 additions and 6 deletions

View File

@ -5202,7 +5202,7 @@ static void Local_Maketic(INT32 realtics)
void SV_SpawnPlayer(INT32 playernum, INT32 x, INT32 y, angle_t angle)
{
tic_t tic;
UINT8 numadjust = 0;
UINT16 numadjust = 0;
(void)x;
(void)y;

View File

@ -7231,9 +7231,13 @@ static ticcmd_t *P_CameraCmd(camera_t *cam)
boolean turnleft, turnright, mouseaiming;
boolean invertmouse, lookaxis, usejoystick, kbl;
angle_t lang;
INT32 player_invert;
INT32 screen_invert;
ticcmd_t *cmd = &cameracmd;
(void)cam;
if (!demo.playback)
return cmd; // empty cmd, no.
@ -7312,8 +7316,8 @@ static ticcmd_t *P_CameraCmd(camera_t *cam)
// spectator aiming shit, ahhhh...
INT32 player_invert = invertmouse ? -1 : 1;
INT32 screen_invert = 1; // nope
player_invert = invertmouse ? -1 : 1;
screen_invert = 1; // nope
// mouse look stuff (mouse look is not the same as mouse aim)
kbl = false;
@ -7425,13 +7429,12 @@ void P_DemoCameraMovement(camera_t *cam)
void P_ResetCamera(player_t *player, camera_t *thiscam)
{
tic_t tries = 0;
fixed_t x, y, z;
if (demo.freecam)
return; // do not reset the camera there.
tic_t tries = 0;
fixed_t x, y, z;
if (!player->mo)
return;