mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
need 14, not 4 for precache_sound
This commit is contained in:
parent
14ec35176a
commit
9a1223cae2
1 changed files with 1 additions and 1 deletions
|
@ -1808,7 +1808,7 @@ function_expr (expr_t *e1, expr_t *e2)
|
|||
def_t *e = ReuseConstant (e2, 0);
|
||||
|
||||
if (strncmp (func->name, "precache_sound", 14) == 0)
|
||||
PrecacheSound (e, func->name[4]);
|
||||
PrecacheSound (e, func->name[14]);
|
||||
else if (strncmp (func->name, "precache_model", 14) == 0)
|
||||
PrecacheModel (e, func->name[14]);
|
||||
else if (strncmp (func->name, "precache_file", 13) == 0)
|
||||
|
|
Loading…
Reference in a new issue