mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Fixed GetObj (TRADING_POST) incorrectly set to elementar.
This commit is contained in:
@ -1082,7 +1082,7 @@ TSubgoal Goals::CollectRes::whatToDoToTrade()
|
|||||||
if (m->o->ID == Obj::TOWN) //just trade remotely using town objid
|
if (m->o->ID == Obj::TOWN) //just trade remotely using town objid
|
||||||
return sptr(setobjid(objid).setisElementar(true));
|
return sptr(setobjid(objid).setisElementar(true));
|
||||||
else //just go there
|
else //just go there
|
||||||
return sptr(Goals::GetObj(objid).setisElementar(true));
|
return sptr(Goals::GetObj(objid));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user