1
0

Fixed a redstone sim failure with droppers.

This commit is contained in:
Mattes D 2014-09-11 10:28:48 +02:00
parent c8b41e9b2b
commit 9fd5df26d0

View File

@ -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; return false;
} }