mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 09:51:41 +00:00
Nuke some mystery code.
I have no idea why I did that, but it crept in with the var substitution fix, so I guess it might have been an attempt to fix a bug, but it looks like it was broken anyway.
This commit is contained in:
parent
e5add8b4f5
commit
6fb73b5ae8
1 changed files with 1 additions and 4 deletions
|
@ -318,11 +318,8 @@ qfs_get_gd_params (plitem_t *gdpl, gamedir_t *gamedir, dstring_t *path,
|
|||
|
||||
if ((p = PL_ObjectForKey (gdpl, "Path")) && *(ps = PL_String (p))) {
|
||||
char *str = qfs_var_subst (ps, vars);
|
||||
char *e = strchr (str, '"');
|
||||
|
||||
if (!e)
|
||||
e = str + strlen (str);
|
||||
qfs_set_var (vars, "path", va ("%.*s", (int) (e - str), str));
|
||||
qfs_set_var (vars, "path", str);
|
||||
if (path->str[0])
|
||||
dstring_appendstr (path, ":");
|
||||
dstring_appendstr (path, str);
|
||||
|
|
Loading…
Reference in a new issue