mirror of
https://github.com/td512/re3.git
synced 2026-01-29 15:30:52 +00:00
CVisibilityPlugins and CRenderer fixes
This commit is contained in:
@@ -1135,12 +1135,12 @@ CFileLoader::LoadMLO(const char *line)
|
||||
char smth[8];
|
||||
char name[24];
|
||||
int modelIndex;
|
||||
float someFloat;
|
||||
float drawDist;
|
||||
|
||||
sscanf(line, "%s %s %d %f", smth, name, &modelIndex, &someFloat);
|
||||
sscanf(line, "%s %s %d %f", smth, name, &modelIndex, &drawDist);
|
||||
CMloModelInfo *minfo = CModelInfo::AddMloModel(modelIndex);
|
||||
minfo->SetModelName(name);
|
||||
minfo->field_34 = someFloat;
|
||||
minfo->drawDist = drawDist;
|
||||
int instId = CModelInfo::GetMloInstanceStore().allocPtr;
|
||||
minfo->firstInstance = instId;
|
||||
minfo->lastInstance = instId;
|
||||
|
||||
Reference in New Issue
Block a user