Add another assert to track down an issue where variable gets infinity value
--HG-- branch : trunk
This commit is contained in:
1 parent
d674660539
commit
cbf7d15947
1 file changed
+1
@@ -280,6 +280,7 @@ namespace VMAP
|
||||
if (instanceTree->second->GetLocationInfo(pos, info))
|
||||
{
|
||||
floor = info.ground_Z;
|
||||
ASSERT(floor < std::numeric_limits<float>::max());
|
||||
type = info.hitModel->GetLiquidType();
|
||||
if (ReqLiquidType && !(type & ReqLiquidType))
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user