|
@@ -1625,15 +1625,6 @@ void CPlayerInterface::gameOver(PlayerColor player, const EVictoryLossCheckResul
|
|
|
if (GH.curInt == this)
|
|
|
GH.curInt = nullptr;
|
|
|
}
|
|
|
- else
|
|
|
- {
|
|
|
- if (victoryLossCheckResult.loss() && cb->getPlayerStatus(playerID) == EPlayerStatus::INGAME) //enemy has lost
|
|
|
- {
|
|
|
- MetaString message = victoryLossCheckResult.messageToSelf;
|
|
|
- message.appendLocalString(EMetaText::COLOR, player.getNum());
|
|
|
- showInfoDialog(message.toString(), std::vector<std::shared_ptr<CComponent>>(1, std::make_shared<CComponent>(CComponent::flag, player.getNum(), 0)));
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
void CPlayerInterface::playerBonusChanged( const Bonus &bonus, bool gain )
|