mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Fixed double serialization, possible cause of #1051.
This commit is contained in:
parent
eec4d3579d
commit
fa544384a7
@ -789,7 +789,7 @@ public:
|
|||||||
template <typename Handler> void serialize(Handler &h, const int version)
|
template <typename Handler> void serialize(Handler &h, const int version)
|
||||||
{
|
{
|
||||||
h & static_cast<CGObjectInstance&>(*this) & static_cast<CQuest&>(*this);
|
h & static_cast<CGObjectInstance&>(*this) & static_cast<CQuest&>(*this);
|
||||||
h & rewardType & rID & rVal & textOption & seerName;
|
h & rewardType & rID & rVal & seerName;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user