some more compiler fixes

This commit is contained in:
Nayla Hanegan 2024-10-23 15:46:20 -04:00
parent 2d137dbaec
commit f802c19f87
2 changed files with 1 additions and 3 deletions

View file

@ -975,8 +975,6 @@ void NetPlayClient::OnStopGame(sf::Packet& packet)
PlayerId pid;
packet >> pid;
const Player& player = m_players[pid];
INFO_LOG_FMT(NETPLAY, "Game stopped");
StopGame();
m_dialog->OnMsgStopGame();

View file

@ -975,7 +975,7 @@ void NetPlayDialog::OnHostInputAuthorityChanged(bool enabled)
});
}
void NetPlayDialog::`(u32 frame, const std::string& player)
void NetPlayDialog::OnPossibleDesync(u32 frame, const std::string& player)
{
DisplayMessage(tr("Possible desync detected: %1 might have desynced at frame %2. Game restart advised.")
.arg(QString::fromStdString(player), QString::number(frame)),