need 14, not 4 for precache_sound

This commit is contained in:
Bill Currie 2002-10-30 05:06:03 +00:00
parent 14ec35176a
commit 9a1223cae2

View file

@ -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)