Add protocol message if a game name is already in use.

This commit is contained in:
lotodore
2010-07-14 07:29:01 +00:00
parent 9b196eacdd
commit 4aa2083993
57 changed files with 182 additions and 171 deletions
+3
View File
@@ -1397,6 +1397,9 @@ ClientStateWaitJoin::InternalHandlePacket(boost::shared_ptr<ClientThread> client
case joinGameFailureReason_notInvited :
failureCode = NTF_NET_JOIN_NOT_INVITED;
break;
case joinGameFailureReason_gameNameInUse :
failureCode = NTF_NET_JOIN_GAME_NAME_IN_USE;
break;
default :
failureCode = NTF_NET_INTERNAL;
break;