mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-29 06:07:57 +03:00
Lot of changes
This commit is contained in:
parent
db1cfb675c
commit
3436b47544
43 changed files with 1249 additions and 123 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue