Fix bug in uncompressed MDR model loading, thansk to Zack "ZTurtleMan" Middleton for reporting.
This commit is contained in:
1 parent
3ff2666375
commit
392b246ee9
1 file changed
+2
-2
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user