[quake3-commits] r1789 - trunk/code/renderer

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Aug 29 12:49:42 EDT 2010


Author: thilo
Date: 2010-08-29 12:49:42 -0400 (Sun, 29 Aug 2010)
New Revision: 1789

Modified:
   trunk/code/renderer/tr_model.c
Log:
Fix bug in uncompressed MDR model loading, thansk to Zack "ZTurtleMan" Middleton for reporting.


Modified: trunk/code/renderer/tr_model.c
===================================================================
--- trunk/code/renderer/tr_model.c	2010-07-02 20:21:20 UTC (rev 1788)
+++ trunk/code/renderer/tr_model.c	2010-08-29 16:49:42 UTC (rev 1789)
@@ -562,8 +562,8 @@
 				((float *)frame->bones)[j] = LittleFloat( ((float *)curframe->bones)[j] );
 			}
 			
-			curframe++;
-			frame++;
+			curframe = (mdrFrame_t *) &cframe->bones[j];
+			frame = (mdrFrame_t *) &frame->bones[j];
 		}
 	}
 	



More information about the quake3-commits mailing list