From 3b4b2ba50634fae516a196e69fc6b84d95bc9a36 Mon Sep 17 00:00:00 2001 From: Rafael Barreto Date: Sun, 11 Jul 2010 20:49:17 +0000 Subject: [PATCH] forget to remove this printf git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5345 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/texture.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/src/texture.cpp b/source/src/texture.cpp index 5b48b02c..76efc50f 100644 --- a/source/src/texture.cpp +++ b/source/src/texture.cpp @@ -361,8 +361,8 @@ GLuint loadsurface(const char *texname, int &xs, int &ys, int &bpp, int clamp = if(!s) { conoutf("couldn't load texture %s", texname); return 0; } s = fixsurfaceformat(s); Uint8 x = 0; - if(strstr(texname,"playermodel") && (x = fixcl(s)) > 35) { printf("\n%s\n",texname); fixcl(s,false,x,35); } - else if(strstr(texname,"skin") && strstr(texname,"weapon") && (x = fixcl(s)) > 40 ) { printf("\n%s\n",texname); fixcl(s,false,x,40); } + if(strstr(texname,"playermodel") && (x = fixcl(s)) > 35) { fixcl(s,false,x,35); } + else if(strstr(texname,"skin") && strstr(texname,"weapon") && (x = fixcl(s)) > 40 ) { fixcl(s,false,x,40); } GLenum format = texformat(s->format->BitsPerPixel); if(!format)