diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-21 16:08:01 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-21 16:08:01 +0100 |
commit | 5034ae29b889b37c10524678e4b92d8ca700bde7 (patch) | |
tree | 20b64b211c4c100f770bafad70b1ddc6cbeb2464 /src/Simulator | |
parent | ChunkSender is now warnings clean (diff) | |
download | cuberite-5034ae29b889b37c10524678e4b92d8ca700bde7.tar cuberite-5034ae29b889b37c10524678e4b92d8ca700bde7.tar.gz cuberite-5034ae29b889b37c10524678e4b92d8ca700bde7.tar.bz2 cuberite-5034ae29b889b37c10524678e4b92d8ca700bde7.tar.lz cuberite-5034ae29b889b37c10524678e4b92d8ca700bde7.tar.xz cuberite-5034ae29b889b37c10524678e4b92d8ca700bde7.tar.zst cuberite-5034ae29b889b37c10524678e4b92d8ca700bde7.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Simulator/FireSimulator.h | 2 | ||||
-rw-r--r-- | src/Simulator/RedstoneSimulator.h | 4 | ||||
-rw-r--r-- | src/Simulator/SandSimulator.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Simulator/FireSimulator.h b/src/Simulator/FireSimulator.h index 66c31b440..f509c66e2 100644 --- a/src/Simulator/FireSimulator.h +++ b/src/Simulator/FireSimulator.h @@ -22,7 +22,7 @@ public: cFireSimulator(cWorld & a_World, cIniFile & a_IniFile); ~cFireSimulator(); - virtual void Simulate(float a_Dt) override {} // not used + virtual void Simulate(float /*a_Dt*/) override {} // not used virtual void SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, cChunk * a_Chunk) override; virtual bool IsAllowedBlock(BLOCKTYPE a_BlockType) override; diff --git a/src/Simulator/RedstoneSimulator.h b/src/Simulator/RedstoneSimulator.h index 309135497..903ac8775 100644 --- a/src/Simulator/RedstoneSimulator.h +++ b/src/Simulator/RedstoneSimulator.h @@ -19,7 +19,7 @@ public: cRedstoneSimulator(cWorld & a_World); ~cRedstoneSimulator(); - virtual void Simulate(float a_Dt) override {}; // Not used in this simulator + virtual void Simulate(float /*a_Dt*/) override {}; // Not used in this simulator virtual void SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, cChunk * a_Chunk) override; virtual bool IsAllowedBlock( BLOCKTYPE a_BlockType ) override { return IsRedstone(a_BlockType); } @@ -269,4 +269,4 @@ private: default: return false; } } -};
\ No newline at end of file +}; diff --git a/src/Simulator/SandSimulator.h b/src/Simulator/SandSimulator.h index 6e9ea15ac..90447c915 100644 --- a/src/Simulator/SandSimulator.h +++ b/src/Simulator/SandSimulator.h @@ -15,7 +15,7 @@ public: cSandSimulator(cWorld & a_World, cIniFile & a_IniFile); // cSimulator overrides: - virtual void Simulate(float a_Dt) override {} // Unused in this simulator + virtual void Simulate(float /*a_Dt*/) override {} // Unused in this simulator virtual void SimulateChunk(float a_Dt, int a_ChunkX, int a_ChunkZ, cChunk * a_Chunk) override; virtual bool IsAllowedBlock(BLOCKTYPE a_BlockType) override; |