diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 5778e9f2f..88867c66a 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -313,7 +313,7 @@ CClient::CClient() : m_DemoPlayer(&m_SnapshotDelta) // map download m_aMapdownloadFilename[0] = 0; m_aMapdownloadName[0] = 0; - m_pMapdownloadTask = 0; + m_pMapdownloadTask = NULL; m_MapdownloadFile = 0; m_MapdownloadChunk = 0; m_MapdownloadCrc = 0; @@ -2174,7 +2174,7 @@ void CClient::ResetMapDownload() { m_pMapdownloadTask->Abort(); delete m_pMapdownloadTask; - m_pMapdownloadTask = 0; + m_pMapdownloadTask = NULL; } m_MapdownloadFile = 0; m_MapdownloadAmount = 0; @@ -2514,7 +2514,7 @@ void CClient::Update() else if(m_pMapdownloadTask->State() == CFetchTask::STATE_ABORTED) { delete m_pMapdownloadTask; - m_pMapdownloadTask = 0; + m_pMapdownloadTask = NULL; } }