mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
kill pointless line
This commit is contained in:
parent
311c3f224d
commit
8411ae3c4b
1 changed files with 0 additions and 1 deletions
|
|
@ -316,7 +316,6 @@ bool AIController::Movement::isInWater()
|
||||||
{
|
{
|
||||||
ShapeBase* sbo = dynamic_cast<ShapeBase*>(getCtrl()->getAIInfo()->mObj.getPointer());
|
ShapeBase* sbo = dynamic_cast<ShapeBase*>(getCtrl()->getAIInfo()->mObj.getPointer());
|
||||||
if (!sbo) return false;
|
if (!sbo) return false;
|
||||||
F32 waterDepth = 0.0f;
|
|
||||||
return sbo->getWaterCoverage() > 0.0f;
|
return sbo->getWaterCoverage() > 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue