[Scummvm-git-logs] scummvm branch-2-6 -> 5f91f3b2f8e7dcc07f01363956290581a8aca165

mgerhardy noreply at scummvm.org
Sun Jun 12 20:23:19 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
5f91f3b2f8 TWINE: fixed end game items for normal new game in classic edition


Commit: 5f91f3b2f8e7dcc07f01363956290581a8aca165
    https://github.com/scummvm/scummvm/commit/5f91f3b2f8e7dcc07f01363956290581a8aca165
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2022-06-12T22:22:49+02:00

Commit Message:
TWINE: fixed end game items for normal new game in classic edition

Changed paths:
    engines/twine/menu/menu.cpp


diff --git a/engines/twine/menu/menu.cpp b/engines/twine/menu/menu.cpp
index 24515e4270e..fd85df6d950 100644
--- a/engines/twine/menu/menu.cpp
+++ b/engines/twine/menu/menu.cpp
@@ -766,12 +766,17 @@ int32 Menu::newGameClassicMenu() {
 			return 0;
 		}
 		case (int32)TextId::kNewGamePlus:
-		case (int32)TextId::kNewGame: {
 			_engine->_gameState->_endGameItems = true;
 			if (_engine->_menuOptions->newGameMenu()) {
 				return 1;
 			}
 			break;
+		case (int32)TextId::kNewGame: {
+			_engine->_gameState->_endGameItems = false;
+			if (_engine->_menuOptions->newGameMenu()) {
+				return 1;
+			}
+			break;
 		}
 		case kQuitEngine:
 			return kQuitEngine;




More information about the Scummvm-git-logs mailing list