You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Fixed some warnings found with Cppcheck.
This commit is contained in:
@@ -120,7 +120,6 @@ void ParallaxLayer::set_base_offset_and_scale(const Point2 &p_offset, float p_sc
|
||||
|
||||
if (mirroring.x) {
|
||||
double den = mirroring.x * p_scale;
|
||||
double before = new_ofs.x;
|
||||
new_ofs.x -= den * ceil(new_ofs.x / den);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user