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>2012-12-06 20:44:24 +0000
committerStijn Buys <ingar@osirion.org>2012-12-06 20:44:24 +0000
commit6e1dc30001d25f139dc2196d3fa99668879f385f (patch)
tree9f3212bbcc47792b014525e7af015cb6a3eb961d
parentb5b37f5bb56dde0cad8eacbed178fc340001b36c (diff)
Added support for entity weapon entries.
-rw-r--r--src/editorwindow.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/editorwindow.cc b/src/editorwindow.cc
index f9a01c0..88ed470 100644
--- a/src/editorwindow.cc
+++ b/src/editorwindow.cc
@@ -113,6 +113,10 @@ bool EditorWindow::loadFile(const QString &filename)
} else if (ini.got_section("ship")) {
in_entity = false;
in_subsection = true;
+
+ } else if (ini.got_section("weapon")) {
+ in_entity = false;
+ in_subsection = true;
} else {
entity = 0;