summaryrefslogtreecommitdiffstats
path: root/src/control/ObjectData.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-19 23:41:43 +0200
committeraap <aap@papnet.eu>2019-06-20 00:12:12 +0200
commit2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7 (patch)
tree1402bf32292b0ec260777d32f1f1069e41a37b67 /src/control/ObjectData.cpp
parentimplemented CObjectData (diff)
downloadre3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.gz
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.bz2
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.lz
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.xz
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.tar.zst
re3-2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7.zip
Diffstat (limited to '')
-rw-r--r--src/control/ObjectData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/ObjectData.cpp b/src/control/ObjectData.cpp
index a0838007..ef5bcc5e 100644
--- a/src/control/ObjectData.cpp
+++ b/src/control/ObjectData.cpp
@@ -20,7 +20,7 @@ CObjectData::Initialise(const char *filename)
CBaseModelInfo *mi;
CFileMgr::SetDir("");
- CFileMgr::LoadFile(filename, work_buff, 55000, "r");
+ CFileMgr::LoadFile(filename, work_buff, sizeof(work_buff), "r");
id = 0;
p = (char*)work_buff;