[Scummvm-cvs-logs] scummvm master -> cf7d1378c8b79a97278211af797000b846b69be9
dreammaster
dreammaster at scummvm.org
Sun Sep 1 16:04:28 CEST 2013
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:
cf7d1378c8 TSAGE: Fix for initialising inventory for new R2R games
Commit: cf7d1378c8b79a97278211af797000b846b69be9
https://github.com/scummvm/scummvm/commit/cf7d1378c8b79a97278211af797000b846b69be9
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2013-09-01T07:03:30-07:00
Commit Message:
TSAGE: Fix for initialising inventory for new R2R games
Changed paths:
engines/tsage/globals.cpp
diff --git a/engines/tsage/globals.cpp b/engines/tsage/globals.cpp
index 71ea160..3e0ef47 100644
--- a/engines/tsage/globals.cpp
+++ b/engines/tsage/globals.cpp
@@ -381,6 +381,9 @@ void Ringworld2Globals::reset() {
if (!_scannerDialog)
_scannerDialog = new ScannerDialog();
+ // Default to Quinn as the active character
+ T2_GLOBALS._player._characterIndex = R2_QUINN;
+
// Reset the inventory
R2_INVENTORY.reset();
T2_GLOBALS._uiElements.updateInventory();
More information about the Scummvm-git-logs
mailing list