mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 12:31:10 +00:00
[qfcc] Read float/double vector literals correctly
Wow, I thought that had been tested. I guess that not vary many vector literals used fractional values.
This commit is contained in:
parent
5b1ce309ef
commit
41e0483102
1 changed files with 1 additions and 1 deletions
|
@ -728,7 +728,7 @@ parse_float_vector (const char *token, int width)
|
|||
case 3:
|
||||
sscanf (token, "' %lf %lf %lf '%c",
|
||||
&double_data.d[0], &double_data.d[1],
|
||||
&double_data.d[1], &t);
|
||||
&double_data.d[2], &t);
|
||||
type = (t == 'f' || t == 'F') ? &type_vec3 : &type_dvec3;
|
||||
break;
|
||||
case 2:
|
||||
|
|
Loading…
Reference in a new issue