aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/debugger.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2007-12-01 10:35:24 +0000
committerPaul Gilbert2007-12-01 10:35:24 +0000
commit91c73e6c76722d4842ac4cec017d08128f1752b6 (patch)
tree58486b160313e7ee7e104e6084e7feb302e56c0f /engines/lure/debugger.cpp
parent30af5576d7a242ff976e412bf675a355efb072b5 (diff)
downloadscummvm-rg350-91c73e6c76722d4842ac4cec017d08128f1752b6.tar.gz
scummvm-rg350-91c73e6c76722d4842ac4cec017d08128f1752b6.tar.bz2
scummvm-rg350-91c73e6c76722d4842ac4cec017d08128f1752b6.zip
Fix for give method - one object range was incorrectly being reported as not being valid objects
svn-id: r29679
Diffstat (limited to 'engines/lure/debugger.cpp')
-rw-r--r--engines/lure/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/debugger.cpp b/engines/lure/debugger.cpp
index bf7793a016..70781e0f29 100644
--- a/engines/lure/debugger.cpp
+++ b/engines/lure/debugger.cpp
@@ -215,7 +215,7 @@ bool Debugger::cmd_giveItem(int argc, const char **argv) {
if (itemHotspot == NULL) {
DebugPrintf("The specified item does not exist\n");
- } else if ((itemNum < 0x408) || (itemNum >= 0x2710)) {
+ } else if (itemNum < 0x408) {
DebugPrintf("The specified item number is not an object\n");
} else if ((charNum < PLAYER_ID) || (charNum >= 0x408) ||
(charHotspot == NULL)) {