summaryrefslogtreecommitdiffstats
path: root/src/render/Clouds.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-15 15:26:55 +0200
committeraap <aap@papnet.eu>2020-04-15 15:26:55 +0200
commitd7eee5c1307d80b64771e15458e0b1fd70898706 (patch)
tree916b08549a26eed92bd2d2239cb8b4aa52086772 /src/render/Clouds.cpp
parentMerge pull request #435 from GTAmodding/appveyor (diff)
downloadre3-d7eee5c1307d80b64771e15458e0b1fd70898706.tar
re3-d7eee5c1307d80b64771e15458e0b1fd70898706.tar.gz
re3-d7eee5c1307d80b64771e15458e0b1fd70898706.tar.bz2
re3-d7eee5c1307d80b64771e15458e0b1fd70898706.tar.lz
re3-d7eee5c1307d80b64771e15458e0b1fd70898706.tar.xz
re3-d7eee5c1307d80b64771e15458e0b1fd70898706.tar.zst
re3-d7eee5c1307d80b64771e15458e0b1fd70898706.zip
Diffstat (limited to '')
-rw-r--r--src/render/Clouds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Clouds.cpp b/src/render/Clouds.cpp
index 39866294..7debe3d3 100644
--- a/src/render/Clouds.cpp
+++ b/src/render/Clouds.cpp
@@ -233,7 +233,7 @@ CClouds::Render(void)
szx*55.0f, szy*55.0f,
tr, tg, tb, br, bg, bb, 0.0f, -1.0f,
1.0f/screenpos.z,
- IndividualRotation/65336.0f * 2*3.14f + ms_cameraRoll,
+ (uint16)IndividualRotation/65336.0f * 6.28f + ms_cameraRoll,
fluffyalpha);
bCloudOnScreen[i] = true;
}else