X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fclient%2Fclient.cpp;h=9e4ba501b141f3420b2b8eb957429da39e7be5be;hb=8de9eb53c9ae92c6bfa8f01cf6659b683fe2155d;hp=773c0be595e06fd95f06aa410bf062c7d0d225f6;hpb=7c5e04a4af82947ae8e26db3d03f13a555c10aba;p=blank.git diff --git a/src/client/client.cpp b/src/client/client.cpp index 773c0be..9e4ba50 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -51,7 +51,7 @@ InteractiveState::InteractiveState(MasterState &master, uint32_t player_id) , sounds() , save(master.GetEnv().config.GetWorldPath(master.GetWorldConf().name, master.GetConfig().net.host)) , world(res.block_types, master.GetWorldConf()) -, player(*world.AddPlayer(master.GetConfig().player.name)) +, player(*world.AddPlayer(master.GetConfig().player.name, player_id)) , hud(master.GetEnv(), master.GetConfig(), player) , manip(master.GetEnv().audio, sounds, player.GetEntity()) , input(world, player, master.GetClient())