diff --git a/src/engine/client/client.h b/src/engine/client/client.h index 44014099b..b128ac89d 100644 --- a/src/engine/client/client.h +++ b/src/engine/client/client.h @@ -259,7 +259,7 @@ public: void ProcessConnlessPacket(CNetChunk *pPacket); void ProcessServerPacket(CNetChunk *pPacket); - virtual const char *MapDownloadName() { return m_aMapdownloadName; } + virtual const char *MapDownloadName() const { return m_aMapdownloadName; } virtual int MapDownloadAmount() const { return m_MapdownloadAmount; } virtual int MapDownloadTotalsize() const { return m_MapdownloadTotalsize; }