Taseditor: fixed bug in LagLog

This commit is contained in:
ansstuff 2012-09-02 19:02:31 +00:00
parent 975cd353d1
commit cf440d61ed
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ void LAGLOG::SetLagInfo(int frame, bool lagFlag)
void LAGLOG::EraseFrame(int frame)
{
if (frame < (int)lag_log.size())
lag_log.erase(lag_log.begin() + (currFrameCounter - 1));
lag_log.erase(lag_log.begin() + frame);
}
void LAGLOG::InsertFrame(int frame, bool lagFlag, int frames)
{