Core: Fix more warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-30 23:07:14 +02:00
parent a6d075dfc6
commit e252b8abe7
54 changed files with 111 additions and 111 deletions

View File

@@ -1499,7 +1499,7 @@ float GridMap::getLiquidLevel(float x, float y)
uint8 GridMap::getTerrainType(float x, float y)
{
if (!m_liquid_type)
return m_liquidType;
return 0;
x = 16 * (32 - x/SIZE_OF_GRIDS);
y = 16 * (32 - y/SIZE_OF_GRIDS);