From 55ba1116ec0333389d018b6f03b11972ba418962 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 1 Dec 2019 09:03:51 +0100 Subject: [PATCH] - fixing the last commit. --- source/duke3d/src/gameexec.cpp | 1 - source/sw/src/network.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/duke3d/src/gameexec.cpp b/source/duke3d/src/gameexec.cpp index 1345511f2..10be274c7 100644 --- a/source/duke3d/src/gameexec.cpp +++ b/source/duke3d/src/gameexec.cpp @@ -1095,7 +1095,6 @@ static int32_t VM_ResetPlayer(int const playerNum, int32_t vmFlags, int32_t cons else #endif { - QuickLoadFailure: g_player[playerNum].ps->gm = MODE_RESTART; } vmFlags |= VM_NOEXECUTE; diff --git a/source/sw/src/network.cpp b/source/sw/src/network.cpp index a4fd7f4ba..905e45115 100644 --- a/source/sw/src/network.cpp +++ b/source/sw/src/network.cpp @@ -631,7 +631,7 @@ waitforeverybody(void) handleevents(); getpackets(); - if (wfe_ExitCallback && wfe_ExitCallback())) + if (wfe_ExitCallback && wfe_ExitCallback()) { // allow exit //if (inputState.GetKeyStatus(KEYSC_ESC))