Merge branch 'awful-mix' into 'awful-mix'

Fix lol xd compiler errors

See merge request SinnamonLat/Kart-Public!2
This commit is contained in:
wolfs 2020-04-08 17:04:06 -04:00
commit 54472b5c22
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;