Explorar o código

send auth key to client

Kolja Strohm %!s(int64=3) %!d(string=hai) anos
pai
achega
cd68cd0641
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      FactoryCraft/Server.cpp

+ 2 - 0
FactoryCraft/Server.cpp

@@ -302,6 +302,8 @@ void FCKlient::thread()
                                     zGameClient = (GameClient*)zGameClient->release();
                                 }
                                 klient->sende( "\1", 1 );
+                                klient->sende( (char*)&authKeyLen, 4 );
+                                klient->sende( authKey, authKeyLen );
                                 ok = true;
                             }
                         }