mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-05 23:28:14 +02:00
Fixed #427 (custom quest messages).
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
std::vector<ui32> m7resources;
|
||||
|
||||
std::string firstVisitText, nextVisitText, completedText;
|
||||
bool isCustom;
|
||||
bool isCustomFirst, isCustomNext, isCustomComplete;
|
||||
|
||||
bool checkQuest (const CGHeroInstance * h) const; //determines whether the quest is complete or not
|
||||
virtual void completeQuest (const CGHeroInstance * h) const {};
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
{
|
||||
h & missionType & progress & lastDay & m13489val & m2stats & m5arts & m6creatures & m7resources
|
||||
& firstVisitText & nextVisitText & completedText & isCustom;
|
||||
& firstVisitText & nextVisitText & completedText & isCustomFirst & isCustomNext & isCustomComplete;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user