1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-12 10:54:55 +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; s.color = color;
pts.push_back(s); pts.push_back(s);
if (pts.size() > maxx) if (pts.size() > maxx)
pts.pop_front(); pts.erase(pts.begin());
} }
else if (!pts.empty() && inRange) else if (!pts.empty() && inRange)
{ {