Fix monsters killed in town not being initialized,
resulting in garbage values after loading a saved game
This commit is contained in:
@@ -101,7 +101,7 @@ private:
|
|||||||
boost::dynamic_bitset<> item_taken;
|
boost::dynamic_bitset<> item_taken;
|
||||||
public:
|
public:
|
||||||
bool can_find;
|
bool can_find;
|
||||||
long m_killed;
|
long m_killed = 0;
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void import_legacy(T& old, int town_num);
|
void import_legacy(T& old, int town_num);
|
||||||
|
|||||||
Reference in New Issue
Block a user