1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Remove custom casts

This commit is contained in:
Ivan Savenko
2024-02-14 12:56:37 +02:00
parent 0d74959a33
commit c23953eac5
14 changed files with 18 additions and 36 deletions

View File

@@ -156,9 +156,4 @@ void IShipyard::getBoatCost(TResources & cost) const
cost[EGameResID::GOLD] = 1000;
}
const IShipyard * IShipyard::castFrom( const CGObjectInstance *obj )
{
return dynamic_cast<const IShipyard *>(obj);
}
VCMI_LIB_NAMESPACE_END