Ignore vmap_ material prefixes

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5652 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Eukara 2020-03-16 03:47:01 +00:00
parent 5016371660
commit e11a3da66e

View file

@ -4753,6 +4753,7 @@ static qboolean Shader_Parsetok(parsestate_t *ps, shaderkey_t *keys, char *token
else if (!Q_strncasecmp(token, "rscript", 7)) {prefix = token; token += 7; }
else if (!Q_strncasecmp(token, "qer_", 4)) {prefix = token; token += 3; toolchainprefix = true; }
else if (!Q_strncasecmp(token, "q3map_", 6)) {prefix = token; token += 5; toolchainprefix = true; }
else if (!Q_strncasecmp(token, "vmap_", 6)) {prefix = token; token += 4; toolchainprefix = true; }
else prefix = NULL;
if (prefix && *token == '_')
token++;