1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Removed buggy and poorly designed fromString method

Use VLC->modh directly with proper parameters instead
This commit is contained in:
Ivan Savenko
2023-07-25 22:36:45 +03:00
parent 1335a834e2
commit e733b55c90
8 changed files with 16 additions and 46 deletions

View File

@ -195,7 +195,7 @@ public:
const auto & t = *gameCallback->getTile(tile);
auto terrain = t.terType->getId();
BattleField terType = BattleField::fromString("grass_hills");
BattleField terType(0);
//send info about battles