From 035653e94a3d74b8f18c993034199d7cd08a895a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 21 Jan 2011 14:41:35 +0000 Subject: Support structures for complex entity collision, renamed sv_arrysize cvar to mem_vertex. --- src/core/parser.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/core/parser.cc') diff --git a/src/core/parser.cc b/src/core/parser.cc index aa159bc..b210cdd 100644 --- a/src/core/parser.cc +++ b/src/core/parser.cc @@ -72,6 +72,13 @@ bool Parser::got_entity_key(filesystem::IniFile &inifile, core::Entity *entity) entity->unset_flag(Entity::ShowOnMap); return true; + } else if (inifile.got_key_bool("complex", blnval)) { + if (blnval) + entity->set_flag(Entity::Complex); + else + entity->unset_flag(Entity::Complex); + return true; + } else if (inifile.got_key_bool("nonsolid", blnval)) { if (blnval) entity->set_flag(Entity::NonSolid); -- cgit v1.2.3