Core: Fix more warnings
--HG-- branch : trunk
This commit is contained in:
1 parent
a6d075dfc6
commit
e252b8abe7
54 files changed
+111
-111
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user