- refactored the level backup data needed by the serializer into p_saveg.h.
This commit is contained in:
parent
5ec786eef7
commit
5ee52f159e
5 changed files with 32 additions and 16 deletions
|
|
@ -573,6 +573,12 @@ public:
|
|||
this->Array = new T[amount];
|
||||
this->Count = amount;
|
||||
}
|
||||
TStaticArray &operator=(const TStaticArray &other)
|
||||
{
|
||||
Alloc(other.Size());
|
||||
memcpy(Array, other.Array, Count * sizeof(T));
|
||||
return *this;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue