diff --git a/src/engine/shared/demo.cpp b/src/engine/shared/demo.cpp index b0af12c8a..6e1a2b531 100644 --- a/src/engine/shared/demo.cpp +++ b/src/engine/shared/demo.cpp @@ -124,7 +124,9 @@ int CDemoRecorder::Start(class IStorage *pStorage, class IConsole *pConsole, con CloseMapFile = true; } - if(MapFile) + if(m_NoMapData) + MapSize = 0; + else if(MapFile) MapSize = io_length(MapFile); // write header