X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fsupertux%2Ftitle_screen.cpp;h=f9791bc19cf15b658fec6799370cbc54e035af74;hb=dfd9453f9b5d71a70095b8abd881a93bc6f47a8f;hp=0372be321086390a9c6d437033c1ddad9b2fa8f3;hpb=9ff3b19384bcecfeefe53b6ceabb0951b085ce80;p=supertux.git diff --git a/src/supertux/title_screen.cpp b/src/supertux/title_screen.cpp index 0372be321..f9791bc19 100644 --- a/src/supertux/title_screen.cpp +++ b/src/supertux/title_screen.cpp @@ -89,7 +89,7 @@ TitleScreen::make_tux_jump() controller->press(Controller::RIGHT); // Check if we should press the jump button - Rect lookahead = tux->get_bbox(); + Rectf lookahead = tux->get_bbox(); lookahead.p2.x += 96; bool pathBlocked = !sector->is_free_of_statics(lookahead); if ((pathBlocked && jumpWasReleased) || !tux->on_ground()) {