Ignore modelgen commands with lex->flags.preprocessing

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-30 15:44:45 +01:00
parent 41cb923c0c
commit f1a36ca647

View file

@ -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;