From 6e1dc30001d25f139dc2196d3fa99668879f385f Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Thu, 6 Dec 2012 20:44:24 +0000 Subject: Added support for entity weapon entries. --- src/editorwindow.cc | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3