From 8edb4a5259262e22d706fac8579bd4dc103b97bc Mon Sep 17 00:00:00 2001
From: Spoike <acceptthis@users.sourceforge.net>
Date: Thu, 30 Sep 2004 22:09:22 +0000
Subject: [PATCH] Hmm. Whoops.. that'll help norms a bit better...

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@257 fc73d0e0-1445-4013-8a0c-d673dee63da5
---
 engine/client/image.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/engine/client/image.c b/engine/client/image.c
index e026580cf..a33e6604d 100644
--- a/engine/client/image.c
+++ b/engine/client/image.c
@@ -1577,7 +1577,8 @@ int Mod_LoadHiResTexture(char *name, qboolean mipmap, qboolean alpha, qboolean c
 			{
 				if ((data = Read32BitImageFile(buf, com_filesize, &image_width, &image_height)))
 				{
-					BoostGamma(data, image_width, image_height);
+					if (colouradjust)
+						BoostGamma(data, image_width, image_height);
 					len = GL_LoadTexture32 (name, image_width, image_height, (unsigned*)data, mipmap, alpha);
 					BZ_Free(data);