diff options
author | Paul Gilbert | 2018-04-21 07:54:00 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-04-21 07:54:00 -0400 |
commit | 828da1fc206fdc1049f85ff45d3024a47fdee330 (patch) | |
tree | cf27e63d31b95021d2cb709ab68cde72710429c4 /engines | |
parent | 0aeecb6c336ae5f97aee940165fdff8a55bdcdba (diff) | |
download | scummvm-rg350-828da1fc206fdc1049f85ff45d3024a47fdee330.tar.gz scummvm-rg350-828da1fc206fdc1049f85ff45d3024a47fdee330.tar.bz2 scummvm-rg350-828da1fc206fdc1049f85ff45d3024a47fdee330.zip |
XEEN: Add Swords guild membership checks
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/character.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/xeen/character.cpp b/engines/xeen/character.cpp index 6f78e6e626..736d0db8a7 100644 --- a/engines/xeen/character.cpp +++ b/engines/xeen/character.cpp @@ -872,7 +872,20 @@ bool Character::guildMember() const { FileManager &files = *g_vm->_files; Party &party = *g_vm->_party; - if (files._ccNum) { + if (g_vm->getGameID() == GType_Swords) { + switch (party._mazeId) { + case 49: + return true; + case 53: + return hasAward(83); + case 63: + return hasAward(85); + case 92: + return hasAward(84); + default: + return hasAward(87); + } + } else if (files._ccNum) { switch (party._mazeId) { case 29: return hasAward(CASTLEVIEW_GUILD_MEMBER); |