From 91c73e6c76722d4842ac4cec017d08128f1752b6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 1 Dec 2007 10:35:24 +0000 Subject: Fix for give method - one object range was incorrectly being reported as not being valid objects svn-id: r29679 --- engines/lure/debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/lure/debugger.cpp') 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)) { -- cgit v1.2.3