Fix XCode compiler errors

I'm faily certain this also fixes broken logic (g_game.c).
This commit is contained in:
James R 2019-05-28 19:03:02 -07:00
parent f070bd2d4d
commit b15cea53e6
2 changed files with 2 additions and 2 deletions

View file

@ -6032,7 +6032,7 @@ void G_ConfirmRewind(tic_t rewindtime)
G_DoPlayDemo(NULL); // Restart the current demo
for (j = 0; j < rewindtime && leveltime < rewindtime; i++)
for (j = 0; j < rewindtime && leveltime < rewindtime; j++)
{
//TryRunTics(1);
G_Ticker((j % NEWTICRATERATIO) == 0);

View file

@ -7913,7 +7913,7 @@ boolean P_SpectatorJoinGame(player_t *player)
static void P_CalcPostImg(player_t *player)
{
sector_t *sector = player->mo->subsector->sector;
postimg_t *type = postimg_none;
postimg_t *type = NULL;
INT32 *param;
fixed_t pviewheight;
UINT8 i;