aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/console.cpp')
-rw-r--r--engines/adl/console.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/adl/console.cpp b/engines/adl/console.cpp
index 0415bcd506..c35e8b02aa 100644
--- a/engines/adl/console.cpp
+++ b/engines/adl/console.cpp
@@ -299,11 +299,9 @@ void Console::printItem(const Item &item) {
if (item.noun > 0)
name = _engine->_priNouns[item.noun - 1];
- if (item.description > 0) {
- desc = toAscii(_engine->loadMessage(item.description));
- if (desc.lastChar() == '\r')
- desc.deleteLastChar();
- }
+ desc = toAscii(_engine->getItemDescription(item));
+ if (desc.lastChar() == '\r')
+ desc.deleteLastChar();
switch (item.state) {
case IDI_ITEM_NOT_MOVED: