summaryrefslogtreecommitdiffstats
path: root/source/packets
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-04 14:54:33 +0100
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-04 14:54:33 +0100
commitfb7c60ec11fde185d30ae6cc59e8c85756f85b8f (patch)
tree842851c4f6561782c663144dd2f5bed8a441b511 /source/packets
parentGot rid of some hardcoded numbers, now using hardcoded variables! woo (diff)
downloadcuberite-fb7c60ec11fde185d30ae6cc59e8c85756f85b8f.tar
cuberite-fb7c60ec11fde185d30ae6cc59e8c85756f85b8f.tar.gz
cuberite-fb7c60ec11fde185d30ae6cc59e8c85756f85b8f.tar.bz2
cuberite-fb7c60ec11fde185d30ae6cc59e8c85756f85b8f.tar.lz
cuberite-fb7c60ec11fde185d30ae6cc59e8c85756f85b8f.tar.xz
cuberite-fb7c60ec11fde185d30ae6cc59e8c85756f85b8f.tar.zst
cuberite-fb7c60ec11fde185d30ae6cc59e8c85756f85b8f.zip
Diffstat (limited to 'source/packets')
-rw-r--r--source/packets/cPacket_BlockChange.h2
-rw-r--r--source/packets/cPacket_BlockPlace.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/packets/cPacket_BlockChange.h b/source/packets/cPacket_BlockChange.h
index 0477dc9c9..a0b3c8843 100644
--- a/source/packets/cPacket_BlockChange.h
+++ b/source/packets/cPacket_BlockChange.h
@@ -18,7 +18,7 @@ public:
virtual void Serialize(AString & a_Data) const override;
int m_PosX;
- char m_PosY;
+ unsigned char m_PosY;
int m_PosZ;
char m_BlockType;
char m_BlockMeta;
diff --git a/source/packets/cPacket_BlockPlace.h b/source/packets/cPacket_BlockPlace.h
index 74bf63d28..9fa2fbbce 100644
--- a/source/packets/cPacket_BlockPlace.h
+++ b/source/packets/cPacket_BlockPlace.h
@@ -24,7 +24,7 @@ public:
virtual int Parse(const char * a_Data, int a_Size) override;
int m_PosX; //tolua_export
- char m_PosY; //tolua_export
+ unsigned char m_PosY; //tolua_export
int m_PosZ; //tolua_export
char m_Direction; //tolua_export