From 92b47f8729cdcb62a96aa1dd0c21e11c62b629b5 Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Sun, 11 Aug 2019 22:14:50 +0100 Subject: [PATCH 1/2] Fix uninitialised variable error toaster found in P_MinecartThink --- src/p_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.c b/src/p_user.c index 0861398d6..b74cafd21 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -10391,7 +10391,7 @@ static void P_MinecartThink(player_t *player) if (P_IsObjectOnGround(minecart)) { sector_t *sec; - INT32 lnum; + INT32 lnum = -1; fixed_t dummy; // Just hit floor. From 37dd048f12fbb1cd49a3d87a28cbc2841bcbbcbd Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Sun, 11 Aug 2019 22:28:32 +0100 Subject: [PATCH 2/2] tweak the defaults for titlescrollxspeed and numDemos --- src/f_finale.c | 2 +- src/g_game.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/f_finale.c b/src/f_finale.c index f3ab235b8..da042abeb 100644 --- a/src/f_finale.c +++ b/src/f_finale.c @@ -46,7 +46,7 @@ // Stage of animation: // 0 = text, 1 = art screen static INT32 finalecount; -INT32 titlescrollxspeed = 80; +INT32 titlescrollxspeed = 20; INT32 titlescrollyspeed = 0; UINT8 titlemapinaction = TITLEMAP_OFF; diff --git a/src/g_game.c b/src/g_game.c index dad873fe7..c96b0805c 100644 --- a/src/g_game.c +++ b/src/g_game.c @@ -97,7 +97,7 @@ boolean runemeraldmanager = false; UINT16 emeraldspawndelay = 60*TICRATE; // menu demo things -UINT8 numDemos = 3; +UINT8 numDemos = 0; UINT32 demoDelayTime = 15*TICRATE; UINT32 demoIdleTime = 3*TICRATE;