Fix building with clang 8.0 (#4346)
This commit is contained in:
@@ -143,7 +143,7 @@ void cPickup::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
|
||||
if ((BlockY >= 0) && (BlockY < cChunkDef::Height)) // Don't do anything except for falling when outside the world
|
||||
{
|
||||
// Position might have changed due to physics. So we have to make sure we have the correct chunk.
|
||||
GET_AND_VERIFY_CURRENT_CHUNK(CurrentChunk, BlockX, BlockZ)
|
||||
GET_AND_VERIFY_CURRENT_CHUNK(CurrentChunk, BlockX, BlockZ);
|
||||
|
||||
// Destroy the pickup if it is on fire:
|
||||
if (IsOnFire())
|
||||
|
||||
Reference in New Issue
Block a user