1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-15 22:19:07 +00:00
This commit is contained in:
fgenesis 2014-03-10 17:42:29 +01:00
parent 65e457423c
commit 3741c6c9f7

View file

@ -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)
{