diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-14 22:21:03 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-14 22:21:03 +0100 |
commit | b974b1ea59efac4a14a929b917df152d06487201 (patch) | |
tree | e23c97a10cfde99c7ddcaa0960e459d8e9caaf16 /source/packets | |
parent | Added the new ChunkDef.h into VC2010 project (diff) | |
download | cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.gz cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.bz2 cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.lz cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.xz cuberite-b974b1ea59efac4a14a929b917df152d06487201.tar.zst cuberite-b974b1ea59efac4a14a929b917df152d06487201.zip |
Diffstat (limited to 'source/packets')
-rw-r--r-- | source/packets/cPacket_MapChunk.cpp | 2 | ||||
-rw-r--r-- | source/packets/cPacket_MapChunk.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/packets/cPacket_MapChunk.cpp b/source/packets/cPacket_MapChunk.cpp index 3c94ef012..17249c25d 100644 --- a/source/packets/cPacket_MapChunk.cpp +++ b/source/packets/cPacket_MapChunk.cpp @@ -19,7 +19,7 @@ cPacket_MapChunk::~cPacket_MapChunk() -cPacket_MapChunk::cPacket_MapChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, const char * a_BlockData, const char * a_BiomeData)
+cPacket_MapChunk::cPacket_MapChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, const BLOCKTYPE * a_BlockData, const BIOMETYPE * a_BiomeData)
{
m_PacketID = E_MAP_CHUNK;
diff --git a/source/packets/cPacket_MapChunk.h b/source/packets/cPacket_MapChunk.h index 1dd05f9ef..0b2bef7ad 100644 --- a/source/packets/cPacket_MapChunk.h +++ b/source/packets/cPacket_MapChunk.h @@ -2,6 +2,7 @@ #pragma once
#include "cPacket.h"
+#include "../ChunkDef.h"
@@ -33,7 +34,7 @@ public: { m_PacketID = E_MAP_CHUNK; m_CompressedData = 0; }
cPacket_MapChunk( const cPacket_MapChunk & a_Copy );
- cPacket_MapChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, const char * a_BlockData, const char * a_BiomeData);
+ cPacket_MapChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, const BLOCKTYPE * a_BlockData, const BIOMETYPE * a_BiomeData);
~cPacket_MapChunk();
virtual cPacket* Clone() const { return new cPacket_MapChunk(*this); }
|