diff --git a/src/g_game.c b/src/g_game.c index f29c9787..10bd76ac 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -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); diff --git a/src/p_user.c b/src/p_user.c index 0b938b0b..ced8b2da 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -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;