[Scummvm-git-logs] scummvm master -> ed4eb96c943b7a168202949afd1b180494ce6236
dreammaster
noreply at scummvm.org
Wed Nov 17 04:01:48 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
ed4eb96c94 XEEN: fix "backpack is full" dialog string
Commit: ed4eb96c943b7a168202949afd1b180494ce6236
https://github.com/scummvm/scummvm/commit/ed4eb96c943b7a168202949afd1b180494ce6236
Author: Benoit Pierre (benoit.pierre at gmail.com)
Date: 2021-11-16T20:01:42-08:00
Commit Message:
XEEN: fix "backpack is full" dialog string
Use the destination character's name.
Changed paths:
engines/xeen/dialogs/dialogs_items.cpp
diff --git a/engines/xeen/dialogs/dialogs_items.cpp b/engines/xeen/dialogs/dialogs_items.cpp
index 95aaf14a6b..3dce22abb0 100644
--- a/engines/xeen/dialogs/dialogs_items.cpp
+++ b/engines/xeen/dialogs/dialogs_items.cpp
@@ -327,7 +327,7 @@ Character *ItemsDialog::execute(Character *c, ItemsMode mode) {
ErrorScroll::show(_vm, Res.CANNOT_REMOVE_CURSED_ITEM);
else if (destItems.isFull())
ErrorScroll::show(_vm, Common::String::format(
- Res.CATEGORY_BACKPACK_IS_FULL[category], c->_name.c_str()));
+ Res.CATEGORY_BACKPACK_IS_FULL[category], newChar->_name.c_str()));
else {
XeenItem &destItem = destItems[INV_ITEMS_TOTAL - 1];
destItem = srcItem;
More information about the Scummvm-git-logs
mailing list