diff options
author | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:14:34 +0100 |
---|---|---|
committer | Tycho Bickerstaff <work.tycho@gmail.com> | 2013-12-22 17:14:34 +0100 |
commit | 09b9661ffffa8a099407d78ddb6a58c39d85d795 (patch) | |
tree | e73cb54e56cad1845559f493a861447d8cded0e3 /src/BlockEntities/BlockEntity.h | |
parent | Merge remote-tracking branch 'upstream/master' into threadsafequeue (diff) | |
parent | converted commneted paramater names to the unused macro (diff) | |
download | cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.gz cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.bz2 cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.lz cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.xz cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.tar.zst cuberite-09b9661ffffa8a099407d78ddb6a58c39d85d795.zip |
Diffstat (limited to 'src/BlockEntities/BlockEntity.h')
-rw-r--r-- | src/BlockEntities/BlockEntity.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/BlockEntities/BlockEntity.h b/src/BlockEntities/BlockEntity.h index 0d358b556..c3b8d41c0 100644 --- a/src/BlockEntities/BlockEntity.h +++ b/src/BlockEntities/BlockEntity.h @@ -87,7 +87,12 @@ public: virtual void SendTo(cClientHandle & a_Client) = 0; /// Ticks the entity; returns true if the chunk should be marked as dirty as a result of this ticking. By default does nothing. - virtual bool Tick(float a_Dt, cChunk & a_Chunk) { return false; } + virtual bool Tick(float a_Dt, cChunk & a_Chunk) + { + UNUSED(a_Dt); + UNUSED(a_Chunk); + return false; + } protected: /// Position in absolute block coordinates |