diff options
Diffstat (limited to 'src/game/base/npc.cc')
-rw-r--r-- | src/game/base/npc.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/base/npc.cc b/src/game/base/npc.cc index 0997ed2..fa0ef44 100644 --- a/src/game/base/npc.cc +++ b/src/game/base/npc.cc @@ -21,7 +21,7 @@ NPC *NPC::add_wingman(Ship *leader) return 0; } - NPC *npc = new NPC(ProfileWingman, leader->shipmodel()); + NPC *npc = new NPC(leader->shipmodel()); npc->set_leader(leader); //npc->set_owner(leader->owner()); @@ -68,9 +68,8 @@ NPC *NPC::add_wingman(Ship *leader) return npc; } -NPC::NPC(const Profile profile, const ShipModel *shipmodel) : Ship(0, shipmodel) +NPC::NPC(const ShipModel *shipmodel) : Ship(0, shipmodel) { - npc_profile = profile; npc_mood = MoodWander; npc_destroyed_timestamp = 0; |