diff options
author | Mattes D <github@xoft.cz> | 2014-09-11 10:28:48 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-09-11 10:28:48 +0200 |
commit | 9fd5df26d0c9e8c0f99a2a1dbf620f76eaa65be1 (patch) | |
tree | a3c6a5f599c340e7697f2709ec1d7e64dc9dacc7 /src/Chunk.cpp | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
download | cuberite-9fd5df26d0c9e8c0f99a2a1dbf620f76eaa65be1.tar cuberite-9fd5df26d0c9e8c0f99a2a1dbf620f76eaa65be1.tar.gz cuberite-9fd5df26d0c9e8c0f99a2a1dbf620f76eaa65be1.tar.bz2 cuberite-9fd5df26d0c9e8c0f99a2a1dbf620f76eaa65be1.tar.lz cuberite-9fd5df26d0c9e8c0f99a2a1dbf620f76eaa65be1.tar.xz cuberite-9fd5df26d0c9e8c0f99a2a1dbf620f76eaa65be1.tar.zst cuberite-9fd5df26d0c9e8c0f99a2a1dbf620f76eaa65be1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Chunk.cpp b/src/Chunk.cpp index 99e48df95..e75acb03b 100644 --- a/src/Chunk.cpp +++ b/src/Chunk.cpp @@ -2215,7 +2215,7 @@ bool cChunk::DoWithRedstonePoweredEntityAt(int a_BlockX, int a_BlockY, int a_Blo } } - if (a_Callback.Item((cRedstonePoweredEntity *)*itr)) + if (a_Callback.Item(dynamic_cast<cRedstonePoweredEntity *>(*itr))) // Needs dynamic_cast due to multiple inheritance { return false; } |