From ebb0be7fee4640fd4294f766b83f4857fea8a214 Mon Sep 17 00:00:00 2001 From: rw-r-r-0644 Date: Fri, 7 Oct 2016 23:35:34 +0200 Subject: [PATCH] Update max location for new block image --- src/menu/MainWindowTV.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu/MainWindowTV.cpp b/src/menu/MainWindowTV.cpp index 68d0198..972740d 100644 --- a/src/menu/MainWindowTV.cpp +++ b/src/menu/MainWindowTV.cpp @@ -170,7 +170,7 @@ void MainWindowTV::process(){ flappy_bird_position -= flappy_bird_velocity; if(flappy_bird_position<-224) flappy_bird_position=-224; - if(flappy_bird_position>328) flappy_bird_position=328; + if(flappy_bird_position>320) flappy_bird_position=320; flappy_bird->setPosition(-150, (int)flappy_bird_position); if ((((float)flappy_bird_velocity / 10.0f) * 90.0f)<90.0f) flappy_bird_rotation = (((float)flappy_bird_velocity / 10.0f) * 90.0f); @@ -203,7 +203,7 @@ void MainWindowTV::process(){ flappy_bird_position -= flappy_bird_velocity; if(flappy_bird_position<-224) flappy_bird_position=-224; - if(flappy_bird_position>328) flappy_bird_position=328; + if(flappy_bird_position>320) flappy_bird_position=320; flappy_bird->setPosition(-150, (int)flappy_bird_position); if ((((float)flappy_bird_velocity / 10.0f) * 90.0f)<90.0f) flappy_bird_rotation = (((float)flappy_bird_velocity / 10.0f) * 90.0f);