]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix for mistake in pcx loader (had two pointers swapped)
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 May 2001 08:02:44 +0000 (08:02 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 May 2001 08:02:44 +0000 (08:02 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@223 d7cf8633-e32d-0410-b094-e92efae38249

image.c

diff --git a/image.c b/image.c
index 068d01bdf5f320c8a967f356d79fc92cedf690bc..72492f87c0a74226361765b784c39e48526a5af8 100644 (file)
--- a/image.c
+++ b/image.c
@@ -156,8 +156,8 @@ byte* LoadPCX (byte *f, int matchwidth, int matchheight)
        }
 
        palette = fin;
-       a = pbuf;
-       b = image_rgba;
+       a = image_rgba;
+       b = pbuf;
 
        for(x = 0;x < image_width*image_height;x++)
        {