diff options
author | Paul Gilbert | 2011-04-18 20:37:57 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-04-18 20:37:57 +1000 |
commit | 4486131ca6d2e66376e8bf69e72eb1a1868a892a (patch) | |
tree | 41badc365f8702cd0b1fe7c9b54844bc6f9e4cac /engines/tsage | |
parent | 962d8481969150e591f9fc28e60b0dbee2b44c52 (diff) | |
download | scummvm-rg350-4486131ca6d2e66376e8bf69e72eb1a1868a892a.tar.gz scummvm-rg350-4486131ca6d2e66376e8bf69e72eb1a1868a892a.tar.bz2 scummvm-rg350-4486131ca6d2e66376e8bf69e72eb1a1868a892a.zip |
TSAGE: Fix bug with selected inventory item remaining selected after restarting game
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/core.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index e9f0079236..b3b1693cc3 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -3707,6 +3707,7 @@ void Game::restart() { _globals->_inventory._bone._sceneNumber = 5300; _globals->_inventory._jar._sceneNumber = 7700; _globals->_inventory._emptyJar._sceneNumber = 7700; + _globals->_inventory._selectedItem = NULL; // Change to the first game scene _globals->_sceneManager.changeScene(30); |