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-19 23:56:27 +0200
commit12f009e708b5969cd42ccf5bfb60be37b70f31d8 (patch)
tree9af4251be23041f3c68d4ccd8a34d6d14f9d6709 /src/control/ObjectData.cpp
parentimplemented CObjectData (diff)
downloadre3-12f009e708b5969cd42ccf5bfb60be37b70f31d8.tar
re3-12f009e708b5969cd42ccf5bfb60be37b70f31d8.tar.gz
re3-12f009e708b5969cd42ccf5bfb60be37b70f31d8.tar.bz2
re3-12f009e708b5969cd42ccf5bfb60be37b70f31d8.tar.lz
re3-12f009e708b5969cd42ccf5bfb60be37b70f31d8.tar.xz
re3-12f009e708b5969cd42ccf5bfb60be37b70f31d8.tar.zst
re3-12f009e708b5969cd42ccf5bfb60be37b70f31d8.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;