That moment when you see HAVE_BLUA crawl back from the grave

This would mean MapChange hasn't been firing for demos ...since 2.2.5.
This commit is contained in:
James R 2020-11-17 02:51:11 -08:00
parent d004515d6a
commit e7883f3f8e
2 changed files with 0 additions and 4 deletions

View File

@ -1595,9 +1595,7 @@ static void CL_ReloadReceivedSavegame(void)
for (i = 0; i < MAXPLAYERS; i++)
{
#ifdef HAVE_BLUA
LUA_InvalidatePlayer(&players[i]);
#endif
sprintf(player_names[i], "Player %d", i + 1);
}

View File

@ -1956,9 +1956,7 @@ void G_DoPlayDemo(char *defdemoname)
// Set skin
SetPlayerSkin(0, skin);
#ifdef HAVE_BLUA
LUAh_MapChange(gamemap);
#endif
displayplayer = consoleplayer = 0;
memset(playeringame,0,sizeof(playeringame));
playeringame[0] = true;