1.1 --- a/core/CellRecipientFilter.h Sat Nov 17 04:31:01 2007 +0000
1.2 +++ b/core/CellRecipientFilter.h Sat Nov 17 05:33:47 2007 +0000
1.3 @@ -46,7 +46,7 @@
1.4 int GetRecipientCount() const;
1.5 int GetRecipientIndex(int slot) const;
1.6 public:
1.7 - void Initialize(cell_t *ptr, size_t count);
1.8 + void Initialize(const cell_t *ptr, size_t count);
1.9 void SetToReliable(bool isreliable);
1.10 void SetToInit(bool isinitmsg);
1.11 void Reset();
1.12 @@ -98,7 +98,7 @@
1.13 m_IsReliable = isreliable;
1.14 }
1.15
1.16 -inline void CellRecipientFilter::Initialize(cell_t *ptr, size_t count)
1.17 +inline void CellRecipientFilter::Initialize(const cell_t *ptr, size_t count)
1.18 {
1.19 memcpy(m_Players, ptr, count * sizeof(cell_t));
1.20 m_Size = count;