1
0
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:
Michael Alexsander Silva Dias
2018-05-13 23:26:45 -03:00
parent 0db3d1d2a7
commit 7f72d6476b
8 changed files with 8 additions and 25 deletions

View File

@@ -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);
}