Skip to content
Permalink
Browse files

SkyBox movement speed fix

Speed settings were not being sent on map load.
  • Loading branch information...
123DMWM committed Dec 31, 2017
1 parent 15d62a5 commit c3118c623fd344d2abc23d14e35f253ff4ee9369
Showing with 6 additions and 2 deletions.
  1. +6 −2 fCraft/Network/Player.Networking.cs
@@ -1284,8 +1284,12 @@ bool LoginSequence()
Send(Packet.MakeEnvSetMapProperty(EnvProp.MaxFog, World.MaxFogDistance));
Send(Packet.MakeEnvSetMapProperty(EnvProp.CloudsSpeed, World.CloudsSpeed));
Send(Packet.MakeEnvSetMapProperty(EnvProp.WeatherSpeed, World.WeatherSpeed));
Send(Packet.MakeEnvSetMapProperty(EnvProp.WeatherFade, World.WeatherFade));
} else if (Supports(CpeExt.EnvMapAppearance2)) {
Send(Packet.MakeEnvSetMapProperty(EnvProp.WeatherFade, World.WeatherFade));

Send(Packet.MakeEnvSetMapProperty(EnvProp.SkyboxHorSpeed, World.SkyboxHorSpeed));
Send(Packet.MakeEnvSetMapProperty(EnvProp.SkyboxVerSpeed, World.SkyboxVerSpeed));

} else if (Supports(CpeExt.EnvMapAppearance2)) {
Send(Packet.MakeEnvSetMapAppearance2(World.GetTexture(), side, edge, World.GetEdgeLevel(),
World.GetCloudsHeight(), World.MaxFogDistance, HasCP437));
} else if (Supports(CpeExt.EnvMapAppearance)) {

0 comments on commit c3118c6

Please sign in to comment.
You can’t perform that action at this time.