mirror of
https://github.com/bearstonem/openmohaa-vr.git
synced 2026-10-27 15:00:41 +01:00
Lot of changes
This commit is contained in:
1 parent
db1cfb675c
commit
3436b47544
43 files changed
+1249
-123
No files matched your search
@@ -80,7 +80,7 @@ Parses spawnflags out of the given string, returning the new position.
|
||||
Clears out any previous args.
|
||||
====================
|
||||
*/
|
||||
char *SpawnArgs::Parse( char *data )
|
||||
char *SpawnArgs::Parse( char *data, bool bAllowUtils )
|
||||
{
|
||||
str keyname;
|
||||
const char *com_token;
|
||||
@@ -130,7 +130,7 @@ char *SpawnArgs::Parse( char *data )
|
||||
|
||||
// keynames with a leading underscore are used for utility comments,
|
||||
// and are immediately discarded by the game
|
||||
if ( keyname[ 0 ] == '_' )
|
||||
if ( !bAllowUtils && keyname[ 0 ] == '_' )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user