Fixed a copypasta error from rev 1224
git-svn-id: http://mc-server.googlecode.com/svn/trunk@1226 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
parent
5eff323db2
commit
d828054152
@ -119,7 +119,7 @@ cChunkMap::cChunkLayer * cChunkMap::FindLayer(int a_LayerX, int a_LayerZ)
|
||||
cChunkMap::cChunkLayer * cChunkMap::GetLayerForChunk(int a_ChunkX, int a_ChunkZ)
|
||||
{
|
||||
const int LayerX = FAST_FLOOR_DIV(a_ChunkX, LAYER_SIZE);
|
||||
const int LayerZ = FAST_FLOOR_DIV(a_ChunkX, LAYER_SIZE);
|
||||
const int LayerZ = FAST_FLOOR_DIV(a_ChunkZ, LAYER_SIZE);
|
||||
return GetLayer(LayerX, LayerZ);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user