mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 17:20:30 +00:00
XEEN: fix "backpack is full" dialog string
Use the destination character's name.
This commit is contained in:
parent
b3e3befad8
commit
ed4eb96c94
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user