diff options
author | aap <aap@papnet.eu> | 2019-06-19 23:41:43 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2019-06-20 00:12:12 +0200 |
commit | 2fcdf6fa21a173dcc033fd03b6d08b46b916c2e7 (patch) | |
tree | 1402bf32292b0ec260777d32f1f1069e41a37b67 /src/control/ObjectData.cpp | |
parent | implemented CObjectData (diff) | |
download | re3-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.cpp | 2 |
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; |