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-02-26 19:16:51 +0000
committerStijn Buys <ingar@osirion.org>2012-02-26 19:16:51 +0000
commit06324807359ab34bf1742049ea8b7794d3be126e (patch)
treed37297b4964b10c6c86eec77c6c812910f5a3eb1 /src/entityproperties.cc
parentedaf63323dfb5cff1aa2187bf1e1244c88ed0cae (diff)
Made entity type editable, added default list of entity types.
Diffstat (limited to 'src/entityproperties.cc')
-rw-r--r--src/entityproperties.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/entityproperties.cc b/src/entityproperties.cc
index 3a0dff6..88de704 100644
--- a/src/entityproperties.cc
+++ b/src/entityproperties.cc
@@ -10,10 +10,13 @@
namespace editor
{
-EntityProperties::EntityProperties()
+EntityProperties::EntityProperties() :
+ Properties(),
+ properties_type("entity")
{
properties_radius = 0;
properties_template_type = 0;
+
}
EntityProperties::~EntityProperties()