mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Update tests
This commit is contained in:
@ -4211,7 +4211,7 @@ CGObjectInstance * CGameHandler::createNewObject(const int3 & visitablePosition,
|
||||
throw std::runtime_error("Attempt to create object outside map at " + visitablePosition.toString());
|
||||
|
||||
const TerrainTile & t = gs->map->getTile(visitablePosition);
|
||||
terrainType = t.terType->getId();
|
||||
terrainType = t.getTerrainID();
|
||||
|
||||
auto handler = VLC->objtypeh->getHandlerFor(objectID, subID);
|
||||
|
||||
|
Reference in New Issue
Block a user