Skip to content

Commit

Permalink
another fix. Thanks Zakk Middleton
Browse files Browse the repository at this point in the history
  • Loading branch information
Thilo Schulz committed Aug 30, 2010
1 parent a13aaa8 commit fa34239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/renderer/tr_model.c
Expand Up @@ -562,8 +562,8 @@ static qboolean R_LoadMDR( model_t *mod, void *buffer, int filesize, const char
((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];
}
}

Expand Down

0 comments on commit fa34239

Please sign in to comment.