mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-22 18:31:27 +00:00
[gamecode] Use adjusted vector string for sscanf
There's not much point in converting commas to spaces if the result isn't used. Fixes several malformed vector errors in ad_tears.
This commit is contained in:
parent
784af2bab2
commit
41a6ea3534
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ ED_ParseEpair (progs_t *pr, pr_type_t *base, pr_def_t *key, const char *s)
|
|||
*v = ' ';
|
||||
}
|
||||
}
|
||||
if (sscanf (s, "%f %f %f", VectorExpandAddr (vec)) != 3) {
|
||||
if (sscanf (str, "%f %f %f", VectorExpandAddr (vec)) != 3) {
|
||||
Sys_Printf ("Malformed vector %s\n", s);
|
||||
}
|
||||
VectorCopy (vec, PR_PTR (vector, d));
|
||||
|
|
Loading…
Reference in a new issue