Skip to content

Commit cb69ae5

Browse files
committed
Added more info to 'Bad server response' error message
1 parent 69ff106 commit cb69ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MTA10/core/CConnectManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ bool CConnectManager::StaticProcessPacket ( unsigned char ucPacketID, NetBitStre
412412
if ( ucPacketID != PACKET_ID_SERVER_JOIN && ucPacketID != PACKET_ID_SERVER_JOIN_DATA )
413413
{
414414
// Show failed message and abort the attempt
415-
CCore::GetSingleton ().ShowNetErrorMessageBox ( _("Error")+_E("CC33"), _("Bad server response (1)") );
415+
CCore::GetSingleton ().ShowNetErrorMessageBox ( _("Error")+_E("CC33"), _("Bad server response (1)") + SString( " [%d]", ucPacketID ) );
416416
g_pConnectManager->Abort ();
417417
}
418418
}

0 commit comments

Comments
 (0)