mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
use MetaString
This commit is contained in:
@@ -915,9 +915,9 @@ void ApplyClientNetPackVisitor::visitPackageApplied(PackageApplied & pack)
|
||||
void ApplyClientNetPackVisitor::visitSystemMessage(SystemMessage & pack)
|
||||
{
|
||||
// usually used to receive error messages from server
|
||||
logNetwork->error("System message: %s", pack.text);
|
||||
logNetwork->error("System message: %s", pack.text.toString());
|
||||
|
||||
CSH->getGameChat().onNewSystemMessageReceived(pack.text);
|
||||
CSH->getGameChat().onNewSystemMessageReceived(pack.text.toString());
|
||||
}
|
||||
|
||||
void ApplyClientNetPackVisitor::visitPlayerBlocked(PlayerBlocked & pack)
|
||||
|
||||
Reference in New Issue
Block a user