diff options
author | Eugene Sandulenko | 2015-12-31 22:34:44 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-31 22:34:44 +0100 |
commit | c001c30547af9197f07227de70a85f09a8c8920a (patch) | |
tree | 9c2e58b0377b981d832a28f6afc0eee95892845a /engines/wage/world.cpp | |
parent | 130a671e8f29d2e6598ff3a67c17947ff2f29b4e (diff) | |
download | scummvm-rg350-c001c30547af9197f07227de70a85f09a8c8920a.tar.gz scummvm-rg350-c001c30547af9197f07227de70a85f09a8c8920a.tar.bz2 scummvm-rg350-c001c30547af9197f07227de70a85f09a8c8920a.zip |
WAGE: Finished world reset
Diffstat (limited to 'engines/wage/world.cpp')
-rw-r--r-- | engines/wage/world.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp index e4ce93625d..e7c37c17d5 100644 --- a/engines/wage/world.cpp +++ b/engines/wage/world.cpp @@ -419,13 +419,10 @@ void World::move(Chr *chr, Scene *scene, bool skipSort) { Common::sort(scene->_chrs.begin(), scene->_chrs.end(), ChrComparator); if (scene == _storageScene) { - warning("STUB: World::move (chrState)"); - //chr.setState(new Chr.State(chr)); + chr->resetState(); } else if (chr->_playerCharacter) { scene->_visited = true; - warning("STUB: World::move (visits)"); - //Context context = getPlayerContext(); - //context.setVisits(context.getVisits() + 1); + _player->_context._visits++; } chr->_currentScene = scene; |