1
0

Removed the unused BlockY parameter from cChunkDef::BlockToChunk()

This commit is contained in:
madmaxoft
2013-08-03 20:05:07 +02:00
parent f14b0ec7fd
commit b688ba9be8
4 changed files with 17 additions and 18 deletions

View File

@@ -125,7 +125,7 @@ void cHopperEntity::UsedBy(cPlayer * a_Player)
// We cannot properly detect contents change, but such a change doesn't happen without a player opening the chest first.
// The few false positives aren't much to worry about
int ChunkX, ChunkZ;
cChunkDef::BlockToChunk(m_PosX, m_PosY, m_PosZ, ChunkX, ChunkZ);
cChunkDef::BlockToChunk(m_PosX, m_PosZ, ChunkX, ChunkZ);
m_World->MarkChunkDirty(ChunkX, ChunkZ);
}