aboutsummaryrefslogtreecommitdiff
path: root/src/info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/info.cc')
-rw-r--r--src/info.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/info.cc b/src/info.cc
index e24b819..eb655c4 100644
--- a/src/info.cc
+++ b/src/info.cc
@@ -405,7 +405,7 @@ Object GetObject(uint32 CreatureID, int x, int y, int z, int RNum, ObjectType Ty
if(Con != NONE){
Obj = GetContainerObject(Con, RNum);
}
- }else if(y != 0){
+ }else if(y != INVENTORY_ANY){
error("GetObject: Ungültiger ContainerCode x=%d,y=%d,z=%d,RNum=%d,Type=%d.\n",
x, y, z, RNum, Type.TypeID);
}