- Add licence headers to new files
- Add patch from Zack Middleton which fixes a few issues still
This commit is contained in:
1 parent
86c41d39da
commit
d37b2da593
6 files changed
+65
-23
No files matched your search
@@ -185,12 +185,10 @@ int R_ComputeLOD( trRefEntity_t *ent ) {
|
||||
// and use that as a criteria for selecting LOD
|
||||
|
||||
#ifdef RAVENMD4
|
||||
// This is an MDR model.
|
||||
|
||||
if(tr.currentModel->md4)
|
||||
if(tr.currentModel->type == MOD_MDR)
|
||||
{
|
||||
int frameSize;
|
||||
mdr = (mdrHeader_t *) tr.currentModel->md4;
|
||||
mdr = (mdrHeader_t *) tr.currentModel->modelData;
|
||||
frameSize = (size_t) (&((mdrFrame_t *)0)->bones[mdr->numBones]);
|
||||
|
||||
mdrframe = (mdrFrame_t *) ((byte *) mdr + mdr->ofsFrames + frameSize * ent->e.frame);
|
||||
|
||||
Reference in new issue
Block a user