Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp

This commit is contained in:
konstin 2014-07-31 10:57:11 +02:00
commit a2d76dd098

View File

@ -553,7 +553,7 @@ void GrandPrixData::editTrack(unsigned int index, Track* track,
// ----------------------------------------------------------------------------
void GrandPrixData::remove(const unsigned int track)
{
assert (0 < track && track < getNumberOfTracks(true));
assert (0 <= track && track < getNumberOfTracks(true));
m_tracks.erase(m_tracks.begin() + track);
m_laps.erase(m_laps.begin() + track);