forked from mirrors/0ad
Added semi-intelligent text parser for XMLs - so that numeric properties on entities are no longer stored as strings instead.
This was SVN commit r1409.
This commit is contained in:
@@ -658,7 +658,7 @@ public:
|
||||
|
||||
void AddProperty( CStrW PropertyName, CStrW Value )
|
||||
{
|
||||
AddProperty( PropertyName, ToJSVal<CStrW>( Value ) );
|
||||
AddProperty( PropertyName, JSParseString( Value ) );
|
||||
}
|
||||
void AddProperty( CStrW PropertyName, GetFn Getter, SetFn Setter = NULL )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user