1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

Remove duplicate semicolons

This commit is contained in:
Alexander Wilms
2024-01-16 19:02:39 +00:00
parent a5e95cce96
commit cca08e29da
20 changed files with 26 additions and 26 deletions

View File

@@ -1051,7 +1051,7 @@ void CVCMIServer::optionSetBonus(PlayerColor player, PlayerStartingBonus id)
if(s.castle == FactionID::RANDOM && id == PlayerStartingBonus::RESOURCE) //random castle - can't be resource
return;
s.bonus = id;;
s.bonus = id;
}
bool CVCMIServer::canUseThisHero(PlayerColor player, HeroTypeID ID)

View File

@@ -293,7 +293,7 @@ void PlayerMessageProcessor::cheatMovement(PlayerColor player, const CGHeroInsta
bool unlimited = false;
try
{
smp.val = std::stol(words.at(0));;
smp.val = std::stol(words.at(0));
}
catch(std::logic_error&)
{
@@ -326,7 +326,7 @@ void PlayerMessageProcessor::cheatResources(PlayerColor player, std::vector<std:
int baseResourceAmount;
try
{
baseResourceAmount = std::stol(words.at(0));;
baseResourceAmount = std::stol(words.at(0));
}
catch(std::logic_error&)
{