Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp
This commit is contained in:
commit
a2d76dd098
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user