Core/Misc: Fix static analysis issues

This commit is contained in:
jackpoz authored and Aokromes committed 2018-01-01 15:50:42 +01:00
1 parent 9ed3ccf6ee
commit 5a61b3ce5e
1 file changed
+2
@@ -297,6 +297,8 @@ namespace VMAP
Vector3 pos = convertPositionToInternalRep(x, y, z);
if (instanceTree->second->GetLocationInfo(pos, info))
{
ASSERT(info.hitModel);
ASSERT(info.hitInstance);
data.floorZ = info.ground_Z;
uint32 liquidType = info.hitModel->GetLiquidType();
float liquidLevel;