From c832beca63505888c34d0888b71da10fa9dddd10 Mon Sep 17 00:00:00 2001 From: Redix Date: Thu, 28 Sep 2017 16:01:03 +0200 Subject: [PATCH] Remove 30 min limit from the ghost --- src/game/client/components/ghost.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/game/client/components/ghost.cpp b/src/game/client/components/ghost.cpp index 184f347aa..4259cb304 100644 --- a/src/game/client/components/ghost.cpp +++ b/src/game/client/components/ghost.cpp @@ -106,13 +106,7 @@ CGhostCharacter *CGhost::CGhostPath::Get(int Index) void CGhost::AddInfos(const CNetObj_Character *pChar) { - // Just to be sure it doesnt eat too much memory, the first test should be enough anyway int NumTicks = m_CurGhost.m_Path.Size(); - if(NumTicks > Client()->GameTickSpeed()/2*60*30) - { - StopRecord(); - return; - } // do not start writing to file as long as we still touch the start line if(g_Config.m_ClRaceSaveGhost && !GhostRecorder()->IsRecording() && NumTicks > 0)