summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-07-29 19:43:35 +0200
committeraap <aap@papnet.eu>2021-07-29 19:43:47 +0200
commit3c5bae164f54ef3eb21d1f62aabbbb58939f14ab (patch)
tree15282e0f336a51b9cbc6640ce83613cbb45f95a1 /src/core
parentReverse unused audio functions from mobile (diff)
downloadre3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.gz
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.bz2
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.lz
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.xz
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.tar.zst
re3-3c5bae164f54ef3eb21d1f62aabbbb58939f14ab.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/FileLoader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index cc2b402b..afa2a66f 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -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;