diff options
author | Tim Angus <tim@ngus.net> | 2011-01-24 22:07:34 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:54 +0000 |
commit | f96ae257eab6fae9b4b4f4409c58dbce6915ac35 (patch) | |
tree | c9828a3c3726d4b260493a710fd1f2f9f7bc6056 /src/renderer/tr_model.c | |
parent | a0101a6294268ef392b3fa4ecad12706e6cf4cf3 (diff) |
* Merge ioq3-r1813
Diffstat (limited to 'src/renderer/tr_model.c')
-rw-r--r-- | src/renderer/tr_model.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer/tr_model.c b/src/renderer/tr_model.c index 70660583..b02d52a4 100644 --- a/src/renderer/tr_model.c +++ b/src/renderer/tr_model.c @@ -563,8 +563,8 @@ static qboolean R_LoadMDR( model_t *mod, void *buffer, int filesize, const char ((float *)frame->bones)[j] = LittleFloat( ((float *)curframe->bones)[j] ); } - curframe++; - frame++; + curframe = (mdrFrame_t *) &curframe->bones[mdr->numBones]; + frame = (mdrFrame_t *) &frame->bones[mdr->numBones]; } } |