From 3a2c5fac3d955469d068e2d4d8f7b063f8ae3e2d Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Fri, 2 Jul 2010 00:13:47 +0000 Subject: [PATCH] removing the conoutf/debug git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5262 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/texture.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/src/texture.cpp b/source/src/texture.cpp index b200eaa6..8292f900 100644 --- a/source/src/texture.cpp +++ b/source/src/texture.cpp @@ -339,8 +339,7 @@ GLuint loadsurface(const char *texname, int &xs, int &ys, int &bpp, int clamp = s = fixsurfaceformat(s); if (brightskin) { Uint8 x = 0; - if(strstr(texname,"playermodel") && (x = fixcolor(s)) > 35) { conoutf("%s %d",texname,x); fixcolor(s,false,x,35); } - else if(strstr(texname,"skin") && strstr(texname,"weapon") && (x = fixcolor(s)) > 40 ) { conoutf("%s %d",texname,x); fixcolor(s,false,x,40); } + if(strstr(texname,"playermodel") && (x = fixcolor(s)) > 35) fixcolor(s,false,x,35); } GLenum format = texformat(s->format->BitsPerPixel);