1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fixed amount of gold given by resource cheat - x1000 instead of x100

This commit is contained in:
Ivan Savenko 2023-07-17 16:15:49 +03:00
parent a4ba5a9b65
commit b94de1b799

View File

@ -299,7 +299,7 @@ void PlayerMessageProcessor::cheatResources(PlayerColor player, std::vector<std:
}
TResources resources;
resources[EGameResID::GOLD] = baseResourceAmount * 100;
resources[EGameResID::GOLD] = baseResourceAmount * 1000;
for (GameResID i = EGameResID::WOOD; i < EGameResID::GOLD; ++i)
resources[i] = baseResourceAmount;