diff --git a/src/engine/shared/ghost.cpp b/src/engine/shared/ghost.cpp
index 0afbf1107..2b2a543bf 100644
--- a/src/engine/shared/ghost.cpp
+++ b/src/engine/shared/ghost.cpp
@@ -1,5 +1,3 @@
-
-
#include
#include
@@ -32,7 +30,7 @@ int CGhostRecorder::Start(IStorage *pStorage, IConsole *pConsole, const char *pF
m_pConsole->Print(IConsole::OUTPUT_LEVEL_STANDARD, "ghost_recorder", aBuf);
return -1;
}
-
+
// write header
CGhostHeader Header;
mem_zero(&Header, sizeof(Header));
@@ -48,7 +46,7 @@ int CGhostRecorder::Start(IStorage *pStorage, IConsole *pConsole, const char *pF
m_LastItem.Reset();
ResetBuffer();
-
+
char aBuf[256];
str_format(aBuf, sizeof(aBuf), "Ghost recording to '%s'", pFilename);
m_pConsole->Print(IConsole::OUTPUT_LEVEL_STANDARD, "ghost_recorder", aBuf);
@@ -135,7 +133,7 @@ int CGhostRecorder::Stop(int Ticks, int Time)
{
if(!m_File)
return -1;
-
+
m_pConsole->Print(IConsole::OUTPUT_LEVEL_STANDARD, "ghost_recorder", "Stopped ghost recording");
FlushChunk();
@@ -152,12 +150,12 @@ int CGhostRecorder::Stop(int Ticks, int Time)
aTime[1] = (Time>>16)&0xff;
aTime[2] = (Time>>8)&0xff;
aTime[3] = (Time)&0xff;
-
+
// write down num shots and time
io_seek(m_File, gs_NumTicksOffset, IOSEEK_START);
io_write(m_File, &aNumTicks, sizeof(aNumTicks));
io_write(m_File, &aTime, sizeof(aTime));
-
+
io_close(m_File);
m_File = 0;
return 0;
diff --git a/src/engine/shared/ghost.h b/src/engine/shared/ghost.h
index 87c0e38b4..70e330ddd 100644
--- a/src/engine/shared/ghost.h
+++ b/src/engine/shared/ghost.h
@@ -33,10 +33,10 @@ class CGhostRecorder : public IGhostRecorder
void ResetBuffer();
void FlushChunk();
-
-public:
+
+public:
CGhostRecorder();
-
+
int Start(class IStorage *pStorage, class IConsole *pConsole, const char *pFilename, const char *pMap, unsigned MapCrc, const char *pName);
int Stop(int Ticks, int Time);