1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Remove unused variable found by valgrind

This commit is contained in:
ArseniyShestakov 2015-09-23 11:09:15 +03:00
parent ffb8e6a696
commit 76cd002f07

View File

@ -986,7 +986,6 @@ struct NewTurn : public CPackForClient //101
std::map<PlayerColor, TResources> res; //player ID => resource value[res_id]
std::map<ObjectInstanceID, SetAvailableCreatures> cres;//creatures to be placed in towns
ui32 day;
bool resetBuilded;
ui8 specialWeek; //weekType
CreatureID creatureid; //for creature weeks
@ -994,7 +993,7 @@ struct NewTurn : public CPackForClient //101
template <typename Handler> void serialize(Handler &h, const int version)
{
h & heroes & cres & res & day & resetBuilded & specialWeek & creatureid;
h & heroes & cres & res & day & specialWeek & creatureid;
}
};