mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-24 03:47:18 +02:00
translate also cheater message
This commit is contained in:
parent
812e96ebb1
commit
b9c4a56360
@ -42,7 +42,7 @@ void PlayerMessageProcessor::playerMessage(PlayerColor player, const std::string
|
|||||||
if (handleCheatCode(message, player, currObj))
|
if (handleCheatCode(message, player, currObj))
|
||||||
{
|
{
|
||||||
if(!gameHandler->getPlayerSettings(player)->isControlledByAI())
|
if(!gameHandler->getPlayerSettings(player)->isControlledByAI())
|
||||||
broadcastSystemMessage(VLC->generaltexth->allTexts[260]);
|
broadcastSystemMessage("~~core.genrltxt.260~~");
|
||||||
|
|
||||||
if(!player.isSpectator())
|
if(!player.isSpectator())
|
||||||
gameHandler->checkVictoryLossConditionsForPlayer(player);//Player enter win code or got required art\creature
|
gameHandler->checkVictoryLossConditionsForPlayer(player);//Player enter win code or got required art\creature
|
||||||
|
Loading…
x
Reference in New Issue
Block a user