1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +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

@ -4525,7 +4525,7 @@ void CGSeerHut::onHeroVisit( const CGHeroInstance * h ) const
cb->setObjProperty (id, 10, 1);
AddQuest aq;
aq.quest = QuestInfo (*this, this, pos);
aq.quest = QuestInfo (this, this, pos);
aq.player = h->tempOwner;
cb->sendAndApply (&aq); //TODO: merge with setObjProperty?
}