mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-24 04:41:25 +00:00
Add a # prefix to EXTPARM%i
This commit is contained in:
parent
f023004a67
commit
45cd90c777
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -2711,7 +2711,7 @@ static void ir_gen_extparam(ir_builder *ir)
|
|||
ir_value *global;
|
||||
char name[128];
|
||||
|
||||
snprintf(name, sizeof(name), "EXTPARM%i", (int)(vec_size(ir->extparams)+8));
|
||||
snprintf(name, sizeof(name), "#EXTPARM%i", (int)(vec_size(ir->extparams)+8));
|
||||
global = ir_value_var(name, store_global, TYPE_VECTOR);
|
||||
|
||||
def.name = code_genstring(name);
|
||||
|
|
Loading…
Reference in a new issue