diff --git a/src/engine/shared/packer.h b/src/engine/shared/packer.h index 2c428a1e3..7b633c417 100644 --- a/src/engine/shared/packer.h +++ b/src/engine/shared/packer.h @@ -20,7 +20,7 @@ private: public: void Reset(); void AddInt(int i); - void AddString(const char *pStr, int Limit); + void AddString(const char *pStr, int Limit = PACKER_BUFFER_SIZE); void AddRaw(const void *pData, int Size); int Size() const { return (int)(m_pCurrent - m_aBuffer); }