mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Merge pull request #1882 from rilian-la-te/native-terrain-refactor
Native terrain refactor
This commit is contained in:
@ -413,6 +413,11 @@ int32_t CUnitState::creatureIconIndex() const
|
||||
return unitType()->getIconIndex();
|
||||
}
|
||||
|
||||
FactionID CUnitState::getFaction() const
|
||||
{
|
||||
return unitType()->getFaction();
|
||||
}
|
||||
|
||||
int32_t CUnitState::getCasterUnitId() const
|
||||
{
|
||||
return static_cast<int32_t>(unitId());
|
||||
|
Reference in New Issue
Block a user