From 3741c6c9f7e96cc8814c900fd45f3cce0ff2da4a Mon Sep 17 00:00:00 2001 From: fgenesis Date: Mon, 10 Mar 2014 17:42:29 +0100 Subject: [PATCH] oops --- Aquaria/GridRender.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aquaria/GridRender.cpp b/Aquaria/GridRender.cpp index 2d604ac..bbfd4a3 100644 --- a/Aquaria/GridRender.cpp +++ b/Aquaria/GridRender.cpp @@ -166,7 +166,7 @@ void SongLineRender::newPoint(const Vector &pt, const Vector &color) s.color = color; pts.push_back(s); if (pts.size() > maxx) - pts.pop_front(); + pts.erase(pts.begin()); } else if (!pts.empty() && inRange) {