diff options
| author | Alessio Tosto <rinnegatamante@gmail.com> | 2026-05-02 15:14:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-02 15:14:46 +0200 |
| commit | 40d4f12580b02fe440709f06cf6f4cbbfd48de2e (patch) | |
| tree | ed99ab4e058f544abfcb2f0424b956b1b5e1e4f0 /src/engine | |
| parent | 7b2879029087bb7bafc3880550caf0fd3319a0d7 (diff) | |
Fix missing texture size initialization for clouds. (#698)
Diffstat (limited to 'src/engine')
| -rw-r--r-- | src/engine/sky/SkyCloud.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/sky/SkyCloud.cpp b/src/engine/sky/SkyCloud.cpp index d57133d31..7aa1afa41 100644 --- a/src/engine/sky/SkyCloud.cpp +++ b/src/engine/sky/SkyCloud.cpp @@ -27,6 +27,8 @@ SkyCloud::SkyCloud(ScreenContext* screen, u16 cloudVariant, u16 posY, u16 rotY, mY = posY; mRotY = rotY; mScale = (f32) scalePercent / 100.0; + mTextureWidth = 64; + mTextureHeight = 32; // Stock if (GameEngine_ResourceGetTexTypeByName((const char*)CM_GetProps()->CloudTexture) != 1) { |
