summaryrefslogtreecommitdiff
path: root/scene/2d/parallax_background.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/parallax_background.h')
-rw-r--r--scene/2d/parallax_background.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/parallax_background.h b/scene/2d/parallax_background.h
index 99d8dd3811..fce1bbd928 100644
--- a/scene/2d/parallax_background.h
+++ b/scene/2d/parallax_background.h
@@ -60,7 +60,7 @@ public:
void set_scroll_offset(const Point2 &p_ofs);
Point2 get_scroll_offset() const;
- void set_scroll_scale(float p_ofs);
+ void set_scroll_scale(float p_scale);
float get_scroll_scale() const;
void set_scroll_base_offset(const Point2 &p_ofs);