From 76cd002f07c8ca41480f05b541dcbc0753a4a785 Mon Sep 17 00:00:00 2001 From: ArseniyShestakov Date: Wed, 23 Sep 2015 11:09:15 +0300 Subject: [PATCH] Remove unused variable found by valgrind --- lib/NetPacks.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/NetPacks.h b/lib/NetPacks.h index 40db4d415..ca7afc7d5 100644 --- a/lib/NetPacks.h +++ b/lib/NetPacks.h @@ -986,7 +986,6 @@ struct NewTurn : public CPackForClient //101 std::map res; //player ID => resource value[res_id] std::map 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 void serialize(Handler &h, const int version) { - h & heroes & cres & res & day & resetBuilded & specialWeek & creatureid; + h & heroes & cres & res & day & specialWeek & creatureid; } };