From c61594931debe50e520b1737810331c39f7d776c Mon Sep 17 00:00:00 2001 From: spherallic Date: Fri, 14 Apr 2023 00:28:14 +0200 Subject: [PATCH 1/2] Fix titlecard hook being inconsistent on map load --- src/st_stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st_stuff.c b/src/st_stuff.c index cce8ea9f2..206c93273 100644 --- a/src/st_stuff.c +++ b/src/st_stuff.c @@ -1412,7 +1412,7 @@ void ST_drawTitleCard(void) lt_lasttic = lt_ticker; luahook: - if (renderisnewtic) + //if (renderisnewtic) { LUA_HUD_ClearDrawList(luahuddrawlist_titlecard); LUA_HUDHOOK(titlecard, luahuddrawlist_titlecard); From 930b1355ed5634110dfa6895b14d0f510c4a70f6 Mon Sep 17 00:00:00 2001 From: spherallic Date: Fri, 14 Apr 2023 12:03:21 +0200 Subject: [PATCH 2/2] Don't call P_ResetCamera when spawning a bot --- src/g_game.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/g_game.c b/src/g_game.c index 8c497a72d..a0ea9ae88 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -2825,6 +2825,9 @@ void G_MovePlayerToSpawnOrStarpost(INT32 playernum) R_ResetMobjInterpolationState(players[playernum].mo); + if (players[playernum].bot) // don't reset the camera for bots + return; + if (playernum == consoleplayer) P_ResetCamera(&players[playernum], &camera); else if (playernum == secondarydisplayplayer)