1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Unified income handling, added IOwnableObject interface

This commit is contained in:
Ivan Savenko
2024-08-24 20:42:19 +00:00
parent 189cb1c762
commit 0fd9dbf240
20 changed files with 116 additions and 47 deletions

View File

@@ -395,4 +395,9 @@ BattleField CGObjectInstance::getBattlefield() const
return VLC->objtypeh->getHandlerFor(ID, subID)->getBattlefield();
}
const IOwnableObject * CGObjectInstance::asOwnable() const
{
return nullptr;
}
VCMI_LIB_NAMESPACE_END