Add default constructor for CDepositState
--HG-- branch : save_deposit_state_v2
This commit is contained in:
parent
bd3a27778e
commit
4952eeb585
1 changed files with 1 additions and 0 deletions
|
@ -199,6 +199,7 @@ struct CDepositState {
|
||||||
uint32 alias;
|
uint32 alias;
|
||||||
float currentQuantity;
|
float currentQuantity;
|
||||||
uint32 nextRespawnDay;
|
uint32 nextRespawnDay;
|
||||||
|
CDepositState() : alias(0), currentQuantity(0.f), nextRespawnDay(0) {}
|
||||||
void serial(NLMISC::IStream &f) throw(NLMISC::EStream)
|
void serial(NLMISC::IStream &f) throw(NLMISC::EStream)
|
||||||
{
|
{
|
||||||
if(f.isXML())
|
if(f.isXML())
|
||||||
|
|
Loading…
Reference in a new issue