Work around for compiler bug on Debian and FreeBSD

This commit is contained in:
Sage King 2022-08-09 16:26:03 -06:00
parent 66276ac61b
commit da803adf15

View File

@ -440,7 +440,7 @@ ConnectionError NetPlayServer::OnConnect(ENetPeer* incoming_connection, sf::Pack
existing_player.second.name, existing_player.second.revision);
SendResponseToPlayer(new_player, MessageID::GameStatus, existing_player.second.pid,
existing_player.second.game_status);
static_cast<u8>(existing_player.second.game_status));
}
if (Config::Get(Config::NETPLAY_ENABLE_QOS))