From 2d65ca4bff0d65094e8a1d599f07f3475bc1c87e Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 17 Feb 2018 16:23:04 -0500 Subject: XEEN: Fix text for Guild location --- engines/xeen/locations.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/xeen') 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) { -- cgit v1.2.3