Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-10-16 21:42:23 +0000
committerStijn Buys <ingar@osirion.org>2013-10-16 21:42:23 +0000
commit7b7559f7f96227d555935b32dd3acce1af42da72 (patch)
treea199066d9e6d54b15e3997138cc74b4b97786f69 /src/game
parentfd3725940b7a768706d97542f15eb1a88c41e37d (diff)
Do not set owner on wingmen.
Diffstat (limited to 'src/game')
-rw-r--r--src/game/base/npc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/base/npc.cc b/src/game/base/npc.cc
index dba7929..3c8c9bf 100644
--- a/src/game/base/npc.cc
+++ b/src/game/base/npc.cc
@@ -23,7 +23,7 @@ NPC *NPC::add_wingman(Ship *leader)
NPC *npc = new NPC(ProfileWingman, leader->shipmodel());
npc->set_leader(leader);
- npc->set_owner(leader->owner());
+ //npc->set_owner(leader->owner());
npc->set_name("Wingman");
npc->set_mood(MoodFormation);