mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-31 03:50:36 +00:00
debug extparam naming shouldn't start at 8, it's confusing, param 9 is now named extparam0
This commit is contained in:
parent
ef0de47954
commit
69e29c3ef8
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -3113,7 +3113,7 @@ static ir_value* ir_gen_extparam_proto(ir_builder *ir)
|
|||
ir_value *global;
|
||||
char name[128];
|
||||
|
||||
snprintf(name, sizeof(name), "EXTPARM#%i", (int)(vec_size(ir->extparam_protos)+8));
|
||||
snprintf(name, sizeof(name), "EXTPARM#%i", (int)(vec_size(ir->extparam_protos)));
|
||||
global = ir_value_var(name, store_global, TYPE_VECTOR);
|
||||
|
||||
vec_push(ir->extparam_protos, global);
|
||||
|
|
Loading…
Reference in a new issue