diff options
author | Paul Gilbert | 2018-02-17 16:23:04 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-02-17 16:23:04 -0500 |
commit | 2d65ca4bff0d65094e8a1d599f07f3475bc1c87e (patch) | |
tree | c5875bab893c6a4720b1b6b4f2f69e569d67c9f3 | |
parent | 473efc5c275eb622e456ee83ca6130e8ae35389f (diff) | |
download | scummvm-rg350-2d65ca4bff0d65094e8a1d599f07f3475bc1c87e.tar.gz scummvm-rg350-2d65ca4bff0d65094e8a1d599f07f3475bc1c87e.tar.bz2 scummvm-rg350-2d65ca4bff0d65094e8a1d599f07f3475bc1c87e.zip |
XEEN: Fix text for Guild location
-rw-r--r-- | engines/xeen/locations.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/xeen/locations.cpp b/engines/xeen/locations.cpp index 3a48d58839..67abbd7ff7 100644 --- a/engines/xeen/locations.cpp +++ b/engines/xeen/locations.cpp @@ -499,8 +499,12 @@ GuildLocation::GuildLocation() : BaseLocation(GUILD) { } Common::String GuildLocation::createLocationText(Character &ch) { - return !ch.guildMember() ? Res.GUILD_NOT_MEMBER_TEXT : + Party &party = *g_vm->_party; + + Common::String desc = !ch.guildMember() ? Res.GUILD_NOT_MEMBER_TEXT : Common::String::format(Res.GUILD_TEXT, ch._name.c_str()); + return Common::String::format(Res.GUILD_OPTIONS, desc.c_str(), + g_vm->printMil(party._gold).c_str()); } Character *GuildLocation::doOptions(Character *c) { |