summaryrefslogtreecommitdiffstats
path: root/source/cWorld.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-02 14:09:58 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-02 14:09:58 +0200
commitc7d5c00a17c8e4d79f6b0e855d88cc42876f63a9 (patch)
treeb45b5dc8f89d105cef77c8cb5b8f4be270e903fd /source/cWorld.h
parentAdded a CreateHexDump() function for easier raw data debugging (diff)
downloadcuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.gz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.bz2
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.lz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.xz
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.tar.zst
cuberite-c7d5c00a17c8e4d79f6b0e855d88cc42876f63a9.zip
Diffstat (limited to 'source/cWorld.h')
-rw-r--r--source/cWorld.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/cWorld.h b/source/cWorld.h
index 7d4eb0e0e..6a1058d5c 100644
--- a/source/cWorld.h
+++ b/source/cWorld.h
@@ -263,9 +263,9 @@ public:
bool DigBlock (int a_X, int a_Y, int a_Z); //tolua_export
void SendBlockTo(int a_X, int a_Y, int a_Z, cPlayer * a_Player ); //tolua_export
- const double & GetSpawnX() { return m_SpawnX; } //tolua_export
- const double & GetSpawnY(); //tolua_export
- const double & GetSpawnZ() { return m_SpawnZ; } //tolua_export
+ const double & GetSpawnX(void) const { return m_SpawnX; } // tolua_export
+ const double & GetSpawnY(void) const { return m_SpawnY; } // tolua_export
+ const double & GetSpawnZ(void) const { return m_SpawnZ; } // tolua_export
inline cSimulatorManager *GetSimulatorManager() { return m_SimulatorManager; }
inline cWaterSimulator *GetWaterSimulator() { return m_WaterSimulator; }