mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix for compatibility in rewrite
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include "Functions.h"
|
||||
#include "../mapping/CMapEditManager.h"
|
||||
|
||||
void ObstacleProxy::collectPossibleObstacles(const Terrain & terrain)
|
||||
void ObstacleProxy::collectPossibleObstacles(TTerrain terrain)
|
||||
{
|
||||
//get all possible obstacles for this terrain
|
||||
for(auto primaryID : VLC->objtypeh->knownObjects())
|
||||
|
@@ -23,7 +23,7 @@ public:
|
||||
|
||||
rmg::Area blockedArea;
|
||||
|
||||
void collectPossibleObstacles(const Terrain & terrain);
|
||||
void collectPossibleObstacles(TTerrain terrain);
|
||||
|
||||
void placeObstacles(CMap * map, CRandomGenerator & rand);
|
||||
|
||||
|
Reference in New Issue
Block a user