diff options
Diffstat (limited to 'engines/xeen/locations.cpp')
-rw-r--r-- | engines/xeen/locations.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/xeen/locations.cpp b/engines/xeen/locations.cpp index 00e7c0e762..e2359df69c 100644 --- a/engines/xeen/locations.cpp +++ b/engines/xeen/locations.cpp @@ -2240,9 +2240,12 @@ int PyramidLocation::show() { LocationManager::LocationManager() : _location(nullptr) { } -int LocationManager::doAction(LocationAction actionId) { +int LocationManager::doAction(int actionId) { + LocationAction action = (g_vm->getGameID() == GType_Swords && actionId > 13 && actionId < 18) ? + BLACKSMITH : (LocationAction)actionId; + // Create the desired location - switch (actionId) { + switch (action) { case BANK: _location = new Locations::BankLocation(); break; |