diff options
author | Stijn Buys <ingar@osirion.org> | 2012-12-06 20:44:24 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-12-06 20:44:24 +0000 |
commit | 6e1dc30001d25f139dc2196d3fa99668879f385f (patch) | |
tree | 9f3212bbcc47792b014525e7af015cb6a3eb961d /src | |
parent | b5b37f5bb56dde0cad8eacbed178fc340001b36c (diff) |
Added support for entity weapon entries.
Diffstat (limited to 'src')
-rw-r--r-- | src/editorwindow.cc | 4 |
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; |