Add default constructor for CDepositState

--HG--
branch : save_deposit_state_v2
This commit is contained in:
Guillaume Dupuy 2017-04-12 22:15:23 +02:00
parent bd3a27778e
commit 4952eeb585

View file

@ -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())