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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user