X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsprite.cpp;h=bb31251a8becf225554b29f1983bab43813eaa2e;hb=157cef71aeb9ae25b7bb90f37dda11bc09329d11;hp=5c9c3f65267d7c5c21a88b9697c5d0d90305faf5;hpb=8d72041c32613175e6b7eecd34007dbb402f0b91;p=supertux.git diff --git a/src/sprite.cpp b/src/sprite.cpp index 5c9c3f652..bb31251a8 100644 --- a/src/sprite.cpp +++ b/src/sprite.cpp @@ -79,7 +79,7 @@ Sprite::draw(float x, float y) unsigned int frame = get_current_frame(); if (frame < surfaces.size()) - surfaces[frame]->draw(x - x_hotspot, y - y_hotspot - scroll_y); + surfaces[frame]->draw(x - x_hotspot, y - y_hotspot); } void