Added All back to ObjectType parser
I throught this was unused, but it's actually used in NewScriptmaster
parent
1361473358
commit
ce760aa9a3
src/object/level
|
@ -303,6 +303,7 @@ Math::Vector CLevelParserParam::AsPoint(Math::Vector def)
|
|||
|
||||
ObjectType CLevelParserParam::ToObjectType(std::string value)
|
||||
{
|
||||
if (value == "All" ) return OBJECT_NULL; // For use in NewScript
|
||||
if (value == "Any" ) return OBJECT_NULL; // For use in type= in ending conditions
|
||||
if (value == "Portico" ) return OBJECT_PORTICO;
|
||||
if (value == "SpaceShip" ) return OBJECT_BASE;
|
||||
|
|
Loading…
Reference in New Issue