Add default constructor for CDepositState

--HG--
branch : save_deposit_state_v2
hg/compatibility-develop
Guillaume Dupuy 8 years ago
parent bd3a27778e
commit 4952eeb585

@ -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…
Cancel
Save