From 12f009e708b5969cd42ccf5bfb60be37b70f31d8 Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 19 Jun 2019 23:41:43 +0200 Subject: implemented cHandlingDataMgr --- src/control/ObjectData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/control/ObjectData.cpp') 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; -- cgit v1.2.3