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

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

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.") DisplayMessage(tr("Possible desync detected: %1 might have desynced at frame %2. Game restart advised.")
.arg(QString::fromStdString(player), QString::number(frame)), .arg(QString::fromStdString(player), QString::number(frame)),