Skip to content

Commit

Permalink
Merge branch 'minetest32double' into minetest32net
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed May 9, 2024
2 parents deb303e + ae05eb1 commit 7defc7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/client/sky.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ class Sky : public scene::ISceneNode
void addTextureToSkybox(const std::string &texture, int material_id,
ITextureSource *tsrc);
const video::SColorf &getCurrentStarColor() const { return m_star_color; }
void setFogDistance(s16 fog_distance) { m_sky_params.fog_distance = fog_distance; }
s16 getFogDistance() const { return m_sky_params.fog_distance; }
void setFogDistance(pos_t fog_distance) { m_sky_params.fog_distance = fog_distance; }
pos_t getFogDistance() const { return m_sky_params.fog_distance; }

void setFogStart(float fog_start) { m_sky_params.fog_start = fog_start; }
float getFogStart() const { return m_sky_params.fog_start; }
Expand Down
2 changes: 1 addition & 1 deletion src/skyparams.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct SkyboxParams
video::SColor fog_moon_tint;
std::string fog_tint_type;
float body_orbit_tilt { INVALID_SKYBOX_TILT };
s16 fog_distance { -1 };
pos_t fog_distance { -1 };
float fog_start { -1.0f };
};

Expand Down

0 comments on commit 7defc7f

Please sign in to comment.