mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-13 19:33:31 +00:00
Rename CELL_SIZE to TERRAIN_TILE_SIZE, to free up the term "cell" for other concepts.
This was SVN commit r10902.
This commit is contained in:
@@ -1124,8 +1124,8 @@ void CPatchRData::RenderPriorities()
|
||||
terrain->CalcPosition(gx, gz, pos);
|
||||
|
||||
// Move a bit towards the center of the tile
|
||||
pos.X += CELL_SIZE/4.f;
|
||||
pos.Z += CELL_SIZE/4.f;
|
||||
pos.X += TERRAIN_TILE_SIZE/4.f;
|
||||
pos.Z += TERRAIN_TILE_SIZE/4.f;
|
||||
|
||||
float x, y;
|
||||
camera->GetScreenCoordinates(pos, x, y);
|
||||
|
||||
Reference in New Issue
Block a user