summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorMarianoGNU <marianognu.easyrpg@gmail.com>2016-09-07 20:00:10 -0300
committerMarianoGNU <marianognu.easyrpg@gmail.com>2016-09-07 20:00:10 -0300
commitae4f7cbc2cbe6caa4eefd116be2d95c899e0e479 (patch)
tree48cfd99d88078fa3c6bddc634c0d9bfc8d71f4e6 /scene
parent828e1c092fa706d4392363435950960261765ba4 (diff)
Explicitly initialize TextureProgress's initial angle value.
(Hopefully) Fixes #3856 Fixes #6426 Fixes #6344
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/texture_progress.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/texture_progress.cpp b/scene/gui/texture_progress.cpp
index 923a35031c..2c576b6ba5 100644
--- a/scene/gui/texture_progress.cpp
+++ b/scene/gui/texture_progress.cpp
@@ -297,6 +297,7 @@ void TextureProgress::_bind_methods() {
TextureProgress::TextureProgress()
{
mode=FILL_LEFT_TO_RIGHT;
+ rad_init_angle=0;
rad_center_off=Point2();
rad_max_degrees=360;
}