r207 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Tue Nov 1 14:47:48 EST 2005


Author: ludwig
Date: 2005-11-01 14:47:47 -0500 (Tue, 01 Nov 2005)
New Revision: 207

Modified:
   trunk/code/renderer/tr_image.c
Log:
5+2==7 :-)


Modified: trunk/code/renderer/tr_image.c
===================================================================
--- trunk/code/renderer/tr_image.c	2005-11-01 19:44:36 UTC (rev 206)
+++ trunk/code/renderer/tr_image.c	2005-11-01 19:47:47 UTC (rev 207)
@@ -1154,11 +1154,11 @@
 	
 	memcpy(&targa_header.colormap_index, &buf_p[3], 2);
 	memcpy(&targa_header.colormap_length, &buf_p[5], 2);
-	targa_header.colormap_size = buf_p[8];
-	memcpy(&targa_header.x_origin, &buf_p[9], 2);
-	memcpy(&targa_header.y_origin, &buf_p[11], 2);
-	memcpy(&targa_header.width, &buf_p[13], 2);
-	memcpy(&targa_header.height, &buf_p[15], 2);
+	targa_header.colormap_size = buf_p[7];
+	memcpy(&targa_header.x_origin, &buf_p[8], 2);
+	memcpy(&targa_header.y_origin, &buf_p[10], 2);
+	memcpy(&targa_header.width, &buf_p[12], 2);
+	memcpy(&targa_header.height, &buf_p[14], 2);
 	targa_header.pixel_size = buf_p[16];
 	targa_header.attributes = buf_p[17];
 




More information about the quake3-commits mailing list