Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-11-04 16:01:21 +0000
committerStijn Buys <ingar@osirion.org>2013-11-04 16:01:21 +0000
commit5f74a6b0f3e84ec00e68cda63da6e66df33a8149 (patch)
tree4dff3ee1d4e40ac9b42ec304aefc1a8191cffe2e /src/game/base/npc.h
parent8126e1941666f5dccd61e9ecc60db162049bb8ff (diff)
Added support for NPC patrol routes.
Diffstat (limited to 'src/game/base/npc.h')
-rw-r--r--src/game/base/npc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/base/npc.h b/src/game/base/npc.h
index 5a7e176..48fff35 100644
--- a/src/game/base/npc.h
+++ b/src/game/base/npc.h
@@ -37,6 +37,7 @@ public:
enum Mood { MoodWander = 0, MoodFormation = 1 };
NPC(const Profile profile, const ShipModel *shipmodel);
+ virtual ~NPC();
/* ---- inspectors ----------------------------------------- */
@@ -65,7 +66,7 @@ public:
return npc_leader;
}
- /**
+ /**
* @brief returns this NPC's patrol.
* */
inline Patrol *patrol()