Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/game.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/game/base/game.cc b/src/game/base/game.cc
index 789f2d5..438154d 100644
--- a/src/game/base/game.cc
+++ b/src/game/base/game.cc
@@ -331,10 +331,8 @@ void Game::func_target_formation(core::Player *player, core::Entity *entity)
ship->unset_autopilot_flag(Ship::AutoPilotDock);
ship->set_autopilot_flag(Ship::AutoPilotFormation);
- if (math::distance(player->control()->location(), entity->location()) > (player->control()->radius() + entity->radius() + PLANET_SAFE_DISTANCE)) {
- // TODO replace with "formation" voice
- player->send("Autopilot set to formation with " + entity->name());
- }
+ // TODO replace with "formation" voice
+ player->send("Autopilot set to formation with " + entity->name());
}
// a player sends a standard hail