aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2010-01-02 18:02:21 +0000
committerFilippos Karapetis2010-01-02 18:02:21 +0000
commitc920abf50a5e6ca94045e08a7e6a1e7fa31ab6f7 (patch)
tree208f043fe80455cebe50dc6b1d00a284001d43ef /engines
parent6fa3c10aedfc0a6277428707edd8b3b35d1df2c6 (diff)
downloadscummvm-rg350-c920abf50a5e6ca94045e08a7e6a1e7fa31ab6f7.tar.gz
scummvm-rg350-c920abf50a5e6ca94045e08a7e6a1e7fa31ab6f7.tar.bz2
scummvm-rg350-c920abf50a5e6ca94045e08a7e6a1e7fa31ab6f7.zip
Changed the default case of setAttribute() to a warning, so that loading works in LSL3
svn-id: r46892
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gui/gui_menu.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_menu.cpp b/engines/sci/gui/gui_menu.cpp
index 5358f340a6..316d0bbf01 100644
--- a/engines/sci/gui/gui_menu.cpp
+++ b/engines/sci/gui/gui_menu.cpp
@@ -256,7 +256,8 @@ void SciGuiMenu::setAttribute(uint16 menuId, uint16 itemId, uint16 attributeId,
itemEntry->tag = value.offset;
break;
default:
- error("setAttribute() called with unsupported attributeId %X", attributeId);
+ // Happens when loading a game in LSL3 - attribute 1A
+ warning("setAttribute() called with unsupported attributeId %X", attributeId);
}
}