doc correction

This commit is contained in:
Azaezel 2016-10-12 10:24:17 -05:00
parent e12536efcd
commit 8121408029

View file

@ -1441,9 +1441,8 @@ F32 AIPlayer::getTargetDistance(GameBase* target, bool _checkEnabled)
}
DefineEngineMethod(AIPlayer, getTargetDistance, F32, (ShapeBase* obj, bool checkEnabled), (NULL, false),
"@brief Check whether an object is within a specified veiw cone.\n"
"@brief The distance to a given object.\n"
"@obj Object to check. (If blank, it will check the current target).\n"
"@fov view angle in degrees.(Defaults to 45)\n"
"@checkEnabled check whether the object can take damage and if so is still alive.(Defaults to false)\n")
{
return object->getTargetDistance(obj, checkEnabled);