diff options
author | Stijn Buys <ingar@osirion.org> | 2011-01-21 14:41:35 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2011-01-21 14:41:35 +0000 |
commit | 035653e94a3d74b8f18c993034199d7cd08a895a (patch) | |
tree | 6acc56c14a86b499657b6e7faaf50f9e6f7ff57d /src/core/parser.cc | |
parent | 4af61dca099d2b7010d4fa83833ceeeef01b0b0f (diff) |
Support structures for complex entity collision,
renamed sv_arrysize cvar to mem_vertex.
Diffstat (limited to 'src/core/parser.cc')
-rw-r--r-- | src/core/parser.cc | 7 |
1 files changed, 7 insertions, 0 deletions
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); |