mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Add missing default value for custom parallax zoom property
The "Custom Zoom" property was not initialized when creating a new layer group, leading to the property editor not working correctly and an undefined value being saved to the map file.
This commit is contained in:
parent
b9486ac0af
commit
96ccfbb4c2
|
@ -104,6 +104,7 @@ CLayerGroup::CLayerGroup()
|
|||
m_OffsetY = 0;
|
||||
m_ParallaxX = 100;
|
||||
m_ParallaxY = 100;
|
||||
m_CustomParallaxZoom = 0;
|
||||
m_ParallaxZoom = 100;
|
||||
|
||||
m_UseClipping = 0;
|
||||
|
|
Loading…
Reference in a new issue