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