mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Use BattleHex as const ref wherever possible
Minor Fixes Drop unused function from BattleHexArray
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
||||
void registerIcons(const IconRegistar & cb) const override;
|
||||
Obstacle getId() const override;
|
||||
|
||||
BattleHexArray getBlocked(BattleHex hex) const; //returns vector of hexes blocked by obstacle when it's placed on hex 'hex'
|
||||
BattleHexArray getBlocked(const BattleHex & hex) const; //returns vector of hexes blocked by obstacle when it's placed on hex 'hex'
|
||||
|
||||
bool isAppropriate(const TerrainId terrainType, const BattleField & specialBattlefield) const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user