mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core: Fix more warnings
--HG-- branch : trunk
This commit is contained in:
@@ -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