diff --git a/src/samples/ghhb_game.h b/src/samples/ghhb_game.h index 296f2ca..b105e3b 100644 --- a/src/samples/ghhb_game.h +++ b/src/samples/ghhb_game.h @@ -770,7 +770,8 @@ public: { Glyph* n = *it; float bottom_y = glyph_bottom_y(*n); - if (bottom_y > screen_height + 40.0f) + float top_y = bottom_y - glyph_height_px(*n, lane_width); + if (top_y > screen_height + 40.0f) { completed_notes.erase(n); missed_notes.erase(n);