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:
@@ -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)
|
||||
|
||||
@@ -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&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user