diff options
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; |