mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 22:31:36 +00:00
Ignore modelgen commands with lex->flags.preprocessing
This commit is contained in:
parent
41cb923c0c
commit
f1a36ca647
1 changed files with 1 additions and 1 deletions
2
lexer.c
2
lexer.c
|
@ -969,7 +969,7 @@ int lex_do(lex_file *lex)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* modelgen / spiritgen commands */
|
/* modelgen / spiritgen commands */
|
||||||
if (ch == '$') {
|
if (ch == '$' && !lex->flags.preprocessing) {
|
||||||
const char *v;
|
const char *v;
|
||||||
size_t frame;
|
size_t frame;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue