1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
This commit is contained in:
AlexVinS 2016-02-18 17:48:04 +03:00
parent 5a8ee32f89
commit 36121696ca

View File

@ -124,7 +124,11 @@ struct DLL_LINKAGE EventCondition
template <typename Handler>
void serialize(Handler & h, const int version)
{
h & object & value & objectType & position & condition;
h & object;
h & value;
h & objectType;
h & position;
h & condition;
}
};
@ -171,7 +175,10 @@ struct DLL_LINKAGE TriggeredEvent
template <typename Handler>
void serialize(Handler & h, const int version)
{
h & identifier & trigger & description & onFulfill & effect;
h & identifier;
h & trigger;
h & description;
h & onFulfill & effect;
}
};
@ -207,7 +214,7 @@ struct DLL_LINKAGE DisposedHero
namespace EMapFormat
{
enum EMapFormat
enum EMapFormat: ui8
{
INVALID = 0,
// HEX DEC