Explorar o código

doc correction

Azaezel %!s(int64=9) %!d(string=hai) anos
pai
achega
8121408029
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      Engine/source/T3D/aiPlayer.cpp

+ 1 - 2
Engine/source/T3D/aiPlayer.cpp

@@ -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);