mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 03:50:36 +00:00
fixing token-reset in modelname
This commit is contained in:
parent
04dca17cff
commit
1d851a1400
1 changed files with 1 additions and 0 deletions
1
lexer.c
1
lexer.c
|
@ -698,6 +698,7 @@ int lex_do(lex_file *lex)
|
|||
}
|
||||
lex->modelname = lex->tok.value;
|
||||
lex->tok.value = NULL;
|
||||
lex->tok.value_alloc = lex->tok.value_count = 0;
|
||||
for (frame = 0; frame < lex->frames_count; ++frame) {
|
||||
if (!strcmp(v, lex->frames[frame].name)) {
|
||||
lex->framevalue = lex->frames[frame].value;
|
||||
|
|
Loading…
Reference in a new issue