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/template.cc')
-rw-r--r--src/game/base/template.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/base/template.cc b/src/game/base/template.cc
index fd04402..a2bf66c 100644
--- a/src/game/base/template.cc
+++ b/src/game/base/template.cc
@@ -10,6 +10,8 @@
#include "base/cargopod.h"
#include "base/navpoint.h"
#include "base/jumppoint.h"
+#include "base/cargopod.h"
+#include "base/spacemine.h"
namespace game {
@@ -168,6 +170,12 @@ bool Template::init()
con_warn << "Template 'cargopod' not found!" << std::endl;
}
+ entitytemplate = Template::find(std::string("spacemine"));
+ SpaceMine::set_template(entitytemplate);
+ if (!entitytemplate) {
+ con_warn << "Template 'spacemine' not found!" << std::endl;
+ }
+
entitytemplate = Template::find(std::string("navpoint"));
NavPoint::set_template(entitytemplate);
if (!entitytemplate) {