From 3a98f7a048c044ce0d870320fc0b1def0db4f7fb Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 6 Oct 2010 23:07:35 +0200 Subject: added mod system. Closes #34 --- src/game/client/components/maplayers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/components/maplayers.cpp') diff --git a/src/game/client/components/maplayers.cpp b/src/game/client/components/maplayers.cpp index 9c93c771..d3a819c0 100644 --- a/src/game/client/components/maplayers.cpp +++ b/src/game/client/components/maplayers.cpp @@ -135,7 +135,7 @@ void CMapLayers::OnRender() Client()->GetServerInfo(&CurrentServerInfo); char aFilename[256]; str_format(aFilename, sizeof(aFilename), "dumps/tilelayer_dump_%s-%d-%d-%dx%d.txt", CurrentServerInfo.m_aMap, g, l, pTMap->m_Width, pTMap->m_Height); - IOHANDLE File = Storage()->OpenFile(aFilename, IOFLAG_WRITE); + IOHANDLE File = Storage()->OpenFile(aFilename, IOFLAG_WRITE, IStorage::TYPE_SAVE); if(File) { #if defined(CONF_FAMILY_WINDOWS) -- cgit 1.4.1