removed more than should

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5263 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-07-02 00:16:32 +00:00
parent 3a2c5fac3d
commit 49faabc0ba
+1
View File
@@ -340,6 +340,7 @@ GLuint loadsurface(const char *texname, int &xs, int &ys, int &bpp, int clamp =
if (brightskin) {
Uint8 x = 0;
if(strstr(texname,"playermodel") && (x = fixcolor(s)) > 35) fixcolor(s,false,x,35);
else if(strstr(texname,"skin") && strstr(texname,"weapon") && (x = fixcolor(s)) > 40 ) fixcolor(s,false,x,40);
}
GLenum format = texformat(s->format->BitsPerPixel);