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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user