mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Fixed GetObj (TRADING_POST) incorrectly set to elementar.
This commit is contained in:
+1
-1
@@ -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