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

Pointer serialization for CQuest.

This commit is contained in:
DjWarmonger
2012-07-08 08:42:03 +00:00
parent 7fbf89ffc8
commit 32d1a08470
7 changed files with 19 additions and 6 deletions

View File

@@ -445,12 +445,12 @@ public:
struct DLL_LINKAGE QuestInfo //universal interface for human and AI
{
CQuest quest;
const CQuest * quest;
const CGObjectInstance * obj; //related object, most likely Seer Hut
int3 tile;
QuestInfo(){};
QuestInfo (const CQuest &Quest, const CGObjectInstance * Obj, int3 Tile) :
QuestInfo (const CQuest * Quest, const CGObjectInstance * Obj, int3 Tile) :
quest (Quest), obj (Obj), tile (Tile){};
//std::vector<std::string> > texts //allow additional info for quest log?