From d41f2330456259a04f459fbeaf102c49c46430d1 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Wed, 11 Apr 2018 03:33:54 +0000 Subject: [PATCH] CON: Add resetplayerflag 8, which mandates reload and not savegame load in single player. git-svn-id: https://svn.eduke32.com/eduke32@6823 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/gameexec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/gameexec.cpp b/source/duke3d/src/gameexec.cpp index 0558fb5e6..bb01c5495 100644 --- a/source/duke3d/src/gameexec.cpp +++ b/source/duke3d/src/gameexec.cpp @@ -1087,7 +1087,7 @@ static int32_t VM_ResetPlayer(int const playerNum, int32_t vmFlags, int32_t cons //AddLog("resetplayer"); if (!g_netServer && ud.multimode < 2 && !(resetFlags & 2)) { - if (g_quickload && g_quickload->isValid() && ud.recstat != 2) + if (g_quickload && g_quickload->isValid() && ud.recstat != 2 && !(resetFlags & 8)) { if (resetFlags & 4) {