Fix build (gcc) and fix warnings

This commit is contained in:
Spp
2012-02-22 09:15:57 +01:00
parent 6870ee5848
commit 1e246cb66c
12 changed files with 44 additions and 19 deletions
+1 -1
View File
@@ -1544,7 +1544,7 @@ inline GridMap* Map::GetGrid(float x, float y)
return GridMaps[gx][gy];
}
float Map::GetWaterOrGroundLevel(float x, float y, float z, float* ground /*= NULL*/, bool swim /*= false*/) const
float Map::GetWaterOrGroundLevel(float x, float y, float z, float* ground /*= NULL*/, bool /*swim = false*/) const
{
if (const_cast<Map*>(this)->GetGrid(x, y))
{