now it works!
authorPerttu Ahola <celeron55@gmail.com>
Mon, 17 Jan 2011 22:45:07 +0000 (00:45 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Mon, 17 Jan 2011 22:45:07 +0000 (00:45 +0200)
src/server.cpp

index 5253b2e56cd681fe871d08234615ca7cf7dcc5a8..e06e69d8767879debebe28d6e1ac0342b6cda4a6 100644 (file)
@@ -3116,6 +3116,7 @@ Player *Server::emergePlayer(const char *name, const char *password,
                        return NULL;
                }
                // Got one.
+               player->peer_id = peer_id;
                return player;
        }