projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe71241
)
fix typo in previous commit
author
divverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 3 Feb 2010 14:23:24 +0000
(14:23 +0000)
committer
Rudolf Polzer <rpolzer@grawp.div0.qc.to>
Sat, 6 Feb 2010 18:22:45 +0000
(19:22 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9925
d7cf8633
-e32d-0410-b094-
e92efae38249
::stable-branch::merge=
9128b00b25784cd9db0a27169db48bb7a478d8e5
model_shared.c
patch
|
blob
|
history
diff --git
a/model_shared.c
b/model_shared.c
index effbe8e6319c41c9ca79fdc8159c1a5480ebd105..04ab74d771ceb028742cf47ef6f52056a65d13b4 100644
(file)
--- 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]));