1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Last part of Seer Hut & Quest Guard code:

1.Required artifacts & army are now taken on completion.
2.Hoover tooltip.
3.Fixed bugs.
This commit is contained in:
DjWarmonger
2010-02-07 16:05:27 +00:00
parent 69bed4a8d6
commit 53365af90e
9 changed files with 221 additions and 80 deletions

View File

@@ -252,7 +252,7 @@ DLL_EXPORT void RemoveObject::applyGs( CGameState *gs )
else if (obj->ID==CREI_TYPE) //only fixed monsters can be a part of quest
{
CGCreature *cre = static_cast<CGCreature*>(obj);
gs->map->monsters[cre->identifier] = NULL;
gs->map->monsters[cre->identifier]->pos = int3 (-1,-1,-1); //use nonexistent monster for quest :>
}
gs->map->objects[id] = NULL;