Fix bug in uncompressed MDR model loading, thansk to Zack "ZTurtleMan" Middleton for reporting.

This commit is contained in:
Thilo Schulz 2010-08-29 16:49:42 +00:00
parent 3ff2666375
commit 392b246ee9

View file

@ -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++;
frame++;
curframe = (mdrFrame_t *) &cframe->bones[j];
frame = (mdrFrame_t *) &frame->bones[j];
}
}