1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

- Terrain config

- Fix for underground terrains
This commit is contained in:
Tomasz Zieliński
2022-09-21 14:11:32 +02:00
parent c9c4603f75
commit 97c17c6294
2 changed files with 2 additions and 1 deletions

View File

@@ -103,6 +103,7 @@
"minimapBlocked" : [ 41, 40, 41 ],
"music" : "Lava.mp3",
"tiles" : "LAVATL",
"type" : "SUB",
"code" : "lv",
"river" : "rl",
"battleFields" : ["lava"],

View File

@@ -267,7 +267,7 @@ bool TerrainType::isPassable() const
bool TerrainType::isUnderground() const
{
return passabilityType != PassabilityType::SUBTERRANEAN;
return passabilityType == PassabilityType::SUBTERRANEAN;
}
bool TerrainType::isTransitionRequired() const