mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-14 06:01:10 +00:00
Fix bug in uncompressed MDR model loading, thansk to Zack "ZTurtleMan" Middleton for reporting.
This commit is contained in:
parent
3ff2666375
commit
392b246ee9
1 changed files with 2 additions and 2 deletions
|
@ -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] );
|
((float *)frame->bones)[j] = LittleFloat( ((float *)curframe->bones)[j] );
|
||||||
}
|
}
|
||||||
|
|
||||||
curframe++;
|
curframe = (mdrFrame_t *) &cframe->bones[j];
|
||||||
frame++;
|
frame = (mdrFrame_t *) &frame->bones[j];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue