Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 c3118c6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions fCraft/Network/Player.Networking.cs
Expand Up @@ -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)) {
Expand Down

0 comments on commit c3118c6

Please sign in to comment.