mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
All objects that can be owned by player now implement IOwnableObject
This commit is contained in:
@@ -1834,6 +1834,11 @@ ResourceSet CGHeroInstance::dailyIncome() const
|
||||
return income;
|
||||
}
|
||||
|
||||
std::vector<CreatureID> CGHeroInstance::providedCreatures() const
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
const IOwnableObject * CGHeroInstance::asOwnable() const
|
||||
{
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user