mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 22:31:36 +00:00
sscanf_s only for _MSC_VER not WIN32 in exec.c
This commit is contained in:
parent
5d51930adf
commit
b02c4e4d10
1 changed files with 1 additions and 1 deletions
2
exec.c
2
exec.c
|
@ -814,7 +814,7 @@ static void prog_main_setparams(qc_program *prog)
|
|||
arg->vector[2] = 0;
|
||||
switch (main_params[i].vtype) {
|
||||
case TYPE_VECTOR:
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
(void)sscanf_s(main_params[i].value, " %f %f %f ",
|
||||
&arg->vector[0],
|
||||
&arg->vector[1],
|
||||
|
|
Loading…
Reference in a new issue