Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/base')
-rw-r--r--src/game/base/npc.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/base/npc.cc b/src/game/base/npc.cc
index 3bd5ca0..9aff6b2 100644
--- a/src/game/base/npc.cc
+++ b/src/game/base/npc.cc
@@ -36,10 +36,9 @@ NPC *NPC::add_wingman(Ship *leader)
npc->set_color_second(npc->leader()->color_second());
npc->set_location(leader->location() - leader->axis().forward() * 2.0f * (leader->radius() + npc->radius()));
- npc->nudge();
-
npc->set_axis(leader->axis());
npc->set_zone(leader->zone());
+ npc->nudge(true);
// copy weapon layout