summaryrefslogtreecommitdiffstats
path: root/source/cDoors.h
diff options
context:
space:
mode:
authoradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 04:35:46 +0100
committeradmin@omencraft.com <admin@omencraft.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2011-11-10 04:35:46 +0100
commit581165bb5841a6d44ad498ba1c495e42169f7f7a (patch)
tree5a479143e76fa1412c1130e3374a7ffaa126189a /source/cDoors.h
parentAdded code for doors. Doors now place correctly but opening them is buggy and I need to change the current opening code to use bitwise operators. (diff)
downloadcuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.gz
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.bz2
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.lz
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.xz
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.tar.zst
cuberite-581165bb5841a6d44ad498ba1c495e42169f7f7a.zip
Diffstat (limited to '')
-rw-r--r--source/cDoors.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/cDoors.h b/source/cDoors.h
index a05bdd06e..0258a9625 100644
--- a/source/cDoors.h
+++ b/source/cDoors.h
@@ -36,21 +36,21 @@ public:
} else if ( (int)MetaData == 7 ) {
return 0x3;
} else if ( (int)MetaData == 8 ) {
- return 0x12;
+ return 0xC;
} else if ( (int)MetaData == 9 ) {
- return 0x13;
+ return 0xD;
} else if ( (int)MetaData == 10 ) {
- return 0x14;
+ return 0xE;
} else if ( (int)MetaData == 11 ) {
- return 0x15;
+ return 0xF;
} else if ( (int)MetaData == 12 ) {
return 0x8;
} else if ( (int)MetaData == 13 ) {
return 0x9;
} else if ( (int)MetaData == 14 ) {
- return 0x10;
+ return 0xA;
} else if ( (int)MetaData == 15 ) {
- return 0x11;
+ return 0xB;
}
} //tolua_export