about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-01-04 12:00:34 +0100
committeroy <Tom_Adams@web.de>2011-01-04 12:00:34 +0100
commit5dbe75fd7bca578c3d768021d8e3f4da75be1e79 (patch)
tree9ad50771590882224e4ec6f3062cf363c0665faa /src/engine
parentbcba9e5c89fad11afc34e2f9c0124edf2d0da74f (diff)
downloadzcatch-5dbe75fd7bca578c3d768021d8e3f4da75be1e79.tar.gz
zcatch-5dbe75fd7bca578c3d768021d8e3f4da75be1e79.zip
removed duplicate stuff
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/client.cpp8
-rw-r--r--src/engine/client/client.h1
2 files changed, 0 insertions, 9 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index a2d5a53f..aab6e68f 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -1808,8 +1808,6 @@ void CClient::Run()
 	if(!LoadData())
 		return;
 
-	DemoRecorder_Init();
-
 	GameClient()->OnInit();
 	char aBuf[256];
 	str_format(aBuf, sizeof(aBuf), "version %s", GameClient()->NetVersion());
@@ -2133,12 +2131,6 @@ void CClient::Con_Play(IConsole::IResult *pResult, void *pUserData)
 	pSelf->DemoPlayer_Play(pResult->GetString(0), IStorage::TYPE_ALL);
 }
 
-void CClient::DemoRecorder_Init()
-{
-	if(!Storage()->CreateFolder("demos/auto", IStorage::TYPE_SAVE))
-		m_pConsole->Print(IConsole::OUTPUT_LEVEL_STANDARD, "demorec/record", "unable to create auto record folder");
-}
-
 void CClient::DemoRecorder_Start(const char *pFilename, bool WithTimestamp)
 {
 	if(State() != IClient::STATE_ONLINE)
diff --git a/src/engine/client/client.h b/src/engine/client/client.h
index a7385037..406b0ac7 100644
--- a/src/engine/client/client.h
+++ b/src/engine/client/client.h
@@ -315,7 +315,6 @@ public:
 	void RegisterCommands();
 
 	const char *DemoPlayer_Play(const char *pFilename, int StorageType);
-	void DemoRecorder_Init();
 	void DemoRecorder_Start(const char *pFilename, bool WithTimestamp);
 	void DemoRecorder_HandleAutoStart();
 	void DemoRecorder_Stop();