--- src/network.cpp +++ src/network.cpp @@ -68,7 +68,7 @@ sprintf ( self . alias, "%s", "you" ) ; srand ( SDL_GetTicks () + self . ip . port + (int) self . alias + - rand () - SDL_GetTicks () + rand () % SDL_GetTicks () ) ; + rand () - SDL_GetTicks () + rand () ) ; sprintf ( self . key, "%s", CreateKey () . c_str () ) ;