mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Renamed getUpgradeInfo -> fillUpgradeInfo
This commit is contained in:
@@ -163,7 +163,7 @@ std::function<void()> CGarrisonSlot::getDismiss() const
|
||||
bool CGarrisonSlot::viewInfo()
|
||||
{
|
||||
UpgradeInfo pom;
|
||||
LOCPLINT->cb->getUpgradeInfo(getObj(), ID, pom);
|
||||
LOCPLINT->cb->fillUpgradeInfo(getObj(), ID, pom);
|
||||
|
||||
bool canUpgrade = getObj()->tempOwner == LOCPLINT->playerID && pom.oldID>=0; //upgrade is possible
|
||||
std::function<void(CreatureID)> upgr = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user