summaryrefslogtreecommitdiff
path: root/src/renderer/tr_model.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderer/tr_model.c')
-rw-r--r--src/renderer/tr_model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer/tr_model.c b/src/renderer/tr_model.c
index 06473367..ce0bbdf7 100644
--- a/src/renderer/tr_model.c
+++ b/src/renderer/tr_model.c
@@ -932,7 +932,7 @@ static qboolean R_LoadMD4( model_t *mod, void *buffer, const char *mod_name ) {
// swap all the frames
frameSize = (size_t)( &((md4Frame_t *)0)->bones[ md4->numBones ] );
- for ( i = 0 ; i < md4->numFrames ; i++, frame++) {
+ for ( i = 0 ; i < md4->numFrames ; i++) {
frame = (md4Frame_t *) ( (byte *)md4 + md4->ofsFrames + i * frameSize );
frame->radius = LittleFloat( frame->radius );
for ( j = 0 ; j < 3 ; j++ ) {