diff options
author | paramat <mat.gregory@virginmedia.com> | 2017-05-02 01:37:23 +0100 |
---|---|---|
committer | paramat <mat.gregory@virginmedia.com> | 2017-05-04 04:26:06 +0100 |
commit | 76ec6b83133f286581f051dcb1b3da5a52e30b5b (patch) | |
tree | 2169378d8add6393a33504e8601247100d681e6a /src | |
parent | ae0d8f74d747fab2fbe5b4553818e0f938e3289d (diff) | |
download | minetest-76ec6b83133f286581f051dcb1b3da5a52e30b5b.tar.gz minetest-76ec6b83133f286581f051dcb1b3da5a52e30b5b.tar.bz2 minetest-76ec6b83133f286581f051dcb1b3da5a52e30b5b.zip |
Clouds: Fix reddish clouds. Add missing alpha update
Fix accidental swap of red and blue components that caused reddish clouds
Add missing update of alpha in remoteplayer.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/clouds.cpp | 2 | ||||
-rw-r--r-- | src/remoteplayer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/clouds.cpp b/src/clouds.cpp index 627fac47a..cb8adb37f 100644 --- a/src/clouds.cpp +++ b/src/clouds.cpp @@ -61,7 +61,7 @@ Clouds::Clouds( m_params.density = 0.4f; m_params.thickness = 16.0f; - m_params.color_bright = video::SColor(229, 255, 240, 240); + m_params.color_bright = video::SColor(229, 240, 240, 255); m_params.color_ambient = video::SColor(255, 0, 0, 0); m_params.speed = v2f(0.0f, -2.0f); diff --git a/src/remoteplayer.cpp b/src/remoteplayer.cpp index 2b4db62f5..540132978 100644 --- a/src/remoteplayer.cpp +++ b/src/remoteplayer.cpp @@ -68,7 +68,7 @@ RemotePlayer::RemotePlayer(const char *name, IItemDefManager *idef): // copy defaults m_cloud_params.density = 0.4f; - m_cloud_params.color_bright = video::SColor(255, 255, 240, 240); + m_cloud_params.color_bright = video::SColor(229, 240, 240, 255); m_cloud_params.color_ambient = video::SColor(255, 0, 0, 0); m_cloud_params.height = 120.0f; m_cloud_params.thickness = 16.0f; |