* Sets the location for the bot to run to * * @param location Point to run to */
| 164 | * @param location Point to run to |
| 165 | */ |
| 166 | void AIClient::setMoveDestination( const Point3F &location ) { |
| 167 | // Ok, here's the story...we're going to aim where we are going UNLESS told otherwise |
| 168 | if( mAimToDestination ) { |
| 169 | mAimLocation = location; |
| 170 | mAimLocation.z = 0.0f; |
| 171 | } |
| 172 | |
| 173 | mMoveDestination = location; |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Sets the location for the bot to aim at |
no outgoing calls
no test coverage detected