[quake3-commits] r1794 - trunk/code/renderer
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Aug 30 19:25:44 EDT 2010
Author: thilo
Date: 2010-08-30 19:25:44 -0400 (Mon, 30 Aug 2010)
New Revision: 1794
Modified:
trunk/code/renderer/tr_model.c
Log:
another fix. Thanks Zakk Middleton
Modified: trunk/code/renderer/tr_model.c
===================================================================
--- trunk/code/renderer/tr_model.c 2010-08-30 23:21:34 UTC (rev 1793)
+++ trunk/code/renderer/tr_model.c 2010-08-30 23:25:44 UTC (rev 1794)
@@ -562,8 +562,8 @@
((float *)frame->bones)[j] = LittleFloat( ((float *)curframe->bones)[j] );
}
- curframe = (mdrFrame_t *) &curframe->bones[j];
- frame = (mdrFrame_t *) &frame->bones[j];
+ curframe = (mdrFrame_t *) &curframe->bones[mdr->numBones];
+ frame = (mdrFrame_t *) &frame->bones[mdr->numBones];
}
}
More information about the quake3-commits
mailing list