aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-28 19:13:49 +0200
committerEugene Sandulenko2017-08-28 19:13:49 +0200
commit90aca034dfb9a32fa6a5341e15438808b85fed29 (patch)
treee76a19447f35708dd80baff081831009d2ab2409 /engines/wage
parent1def441e094857163c4feed57e641425fb13e74d (diff)
downloadscummvm-rg350-90aca034dfb9a32fa6a5341e15438808b85fed29.tar.gz
scummvm-rg350-90aca034dfb9a32fa6a5341e15438808b85fed29.tar.bz2
scummvm-rg350-90aca034dfb9a32fa6a5341e15438808b85fed29.zip
WAGE: Properly set the character when player is not defined
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/world.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp
index c0c802ff8d..a1d3f6e175 100644
--- a/engines/wage/world.cpp
+++ b/engines/wage/world.cpp
@@ -267,7 +267,7 @@ bool World::loadWorld(Common::MacResManager *resMan) {
if (_chrs.empty()) {
error("loadWorld: and I have no characters");
}
- _player = _chrs[0];
+ _player = _orderedChrs[0];
}