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

Use BattleHex as const ref wherever possible

Minor Fixes
Drop unused function from BattleHexArray
This commit is contained in:
MichalZr6
2025-01-13 14:12:00 +01:00
parent 8f63a82d60
commit ecdd394bb1
56 changed files with 335 additions and 355 deletions

View File

@@ -55,7 +55,7 @@ Obstacle ObstacleInfo::getId() const
return obstacle;
}
BattleHexArray ObstacleInfo::getBlocked(BattleHex hex) const
BattleHexArray ObstacleInfo::getBlocked(const BattleHex & hex) const
{
if(isAbsoluteObstacle)
{