summaryrefslogtreecommitdiffstats
path: root/src/core/FileLoader.cpp
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-05-12 23:42:52 +0200
committerGitHub <noreply@github.com>2020-05-12 23:42:52 +0200
commitbd8a0e73056ae11f113c6859fecc3fbe3376dc0b (patch)
treecf51d6ab8430cd186e02f0e8105004f8e5476728 /src/core/FileLoader.cpp
parentfix shotgun (diff)
parentFix linux warnings (diff)
downloadre3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar
re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.gz
re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.bz2
re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.lz
re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.xz
re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.tar.zst
re3-bd8a0e73056ae11f113c6859fecc3fbe3376dc0b.zip
Diffstat (limited to 'src/core/FileLoader.cpp')
-rw-r--r--src/core/FileLoader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index 88afb40c..6e7188c5 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -753,7 +753,7 @@ CFileLoader::LoadClumpObject(const char *line)
char model[24], txd[24];
CClumpModelInfo *mi;
- if(sscanf(line, "%d %s %s", &id, &model, &txd) == 3){
+ if(sscanf(line, "%d %s %s", &id, model, txd) == 3){
mi = CModelInfo::AddClumpModel(id);
mi->SetName(model);
mi->SetTexDictionary(txd);
@@ -1184,7 +1184,7 @@ CFileLoader::LoadMapZones(const char *filename)
float minx, miny, minz;
float maxx, maxy, maxz;
if(sscanf(line, "%s %d %f %f %f %f %f %f %d",
- &name, &type,
+ name, &type,
&minx, &miny, &minz,
&maxx, &maxy, &maxz,
&level) == 9)