mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 19:51:44 +02:00
- bugfix for incorrect usage of playername if network packet timing is faster than expected
This commit is contained in:
@@ -953,7 +953,8 @@ void MenuStateConnectedGame::update() {
|
|||||||
|
|
||||||
clientInterface= NetworkManager::getInstance().getClientInterface();
|
clientInterface= NetworkManager::getInstance().getClientInterface();
|
||||||
if(clientInterface != NULL && clientInterface->isConnected()) {
|
if(clientInterface != NULL && clientInterface->isConnected()) {
|
||||||
if(clientInterface->getIntroDone() == true &&
|
if( initialSettingsReceivedFromServer == true &&
|
||||||
|
clientInterface->getIntroDone() == true &&
|
||||||
(switchSetupRequestFlagType & ssrft_NetworkPlayerName) == ssrft_NetworkPlayerName) {
|
(switchSetupRequestFlagType & ssrft_NetworkPlayerName) == ssrft_NetworkPlayerName) {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
//needToSetChangedGameSettings = false;
|
//needToSetChangedGameSettings = false;
|
||||||
|
Reference in New Issue
Block a user