mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Stability & regression fixes
This commit is contained in:
@@ -672,7 +672,7 @@ bool shouldVisit(const Nullkiller * ai, const CGHeroInstance * h, const CGObject
|
||||
{
|
||||
if(q.obj == obj->id)
|
||||
{
|
||||
if(q.getQuest(cb)->checkQuest(h))
|
||||
if(q.getQuest(ai->cb.get())->checkQuest(h))
|
||||
return true; //we completed the quest
|
||||
else
|
||||
return false; //we can't complete this quest
|
||||
|
||||
Reference in New Issue
Block a user