mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 03:50:36 +00:00
Don't generate vector defs if the vector's name starts with a # because that's an 'IMMEDIATE'
This commit is contained in:
parent
d51a6ab3db
commit
55117912ab
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -3185,7 +3185,7 @@ static void gen_vector_defs(prog_section_def def, const char *name)
|
|||
char *component;
|
||||
size_t len, i;
|
||||
|
||||
if (!name || OPTS_FLAG(SINGLE_VECTOR_DEFS))
|
||||
if (!name || name[0] == '#' || OPTS_FLAG(SINGLE_VECTOR_DEFS))
|
||||
return;
|
||||
|
||||
def.type = TYPE_FLOAT;
|
||||
|
|
Loading…
Reference in a new issue