1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

fix Eye of magi, also fix #1608

Conflicts:
	lib/CObjectHandler.cpp
This commit is contained in:
AlexVinS
2014-06-21 17:41:05 +04:00
parent c7772aa5a4
commit 4e4ba6654c
5 changed files with 47 additions and 5 deletions

View File

@@ -302,16 +302,17 @@ struct SetMovePoints : public CPackForClient //111
struct FoWChange : public CPackForClient //112
{
FoWChange(){type = 112;};
FoWChange(){type = 112;waitForDialogs = false;};
void applyCl(CClient *cl);
DLL_LINKAGE void applyGs(CGameState *gs);
std::unordered_set<int3, struct ShashInt3 > tiles;
PlayerColor player;
ui8 mode; //mode==0 - hide, mode==1 - reveal
bool waitForDialogs;
template <typename Handler> void serialize(Handler &h, const int version)
{
h & tiles & player & mode;
h & tiles & player & mode & waitForDialogs;
}
};