From 7b177f96e40d3eb5ab7f4c099fdedb28d974250c Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 3 Feb 2010 14:23:24 +0000 Subject: [PATCH] fix typo in previous commit git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9925 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=9128b00b25784cd9db0a27169db48bb7a478d8e5 --- model_shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_shared.c b/model_shared.c index effbe8e6..04ab74d7 100644 --- a/model_shared.c +++ b/model_shared.c @@ -1622,7 +1622,7 @@ void Mod_LoadQ3Shaders(void) if (j < TEXTURE_MAXFRAMES + 4) { // remap dp_water to dpwater, dp_reflect to dpreflect, etc. - if(j == 0 && !strncasecmp(com_token, "dp_")) + if(j == 0 && !strncasecmp(com_token, "dp_", 3)) dpsnprintf(parameter[j], sizeof(parameter[j]), "dp%s", &com_token[3]); else strlcpy(parameter[j], com_token, sizeof(parameter[j])); -- 2.39.2