Fixed warnings about missing screenshots caused by 'prefetching'
screenshots.
This commit is contained in:
parent
4f5b84a134
commit
27ed23a6e7
@ -209,7 +209,9 @@ bool TrackManager::loadTrack(const std::string& dirname)
|
|||||||
m_track_avail.push_back(true);
|
m_track_avail.push_back(true);
|
||||||
updateGroups(track);
|
updateGroups(track);
|
||||||
|
|
||||||
//Populate the texture cache with track screenshots
|
// Populate the texture cache with track screenshots
|
||||||
|
// (internal tracks like end cutscene don't have screenshots)
|
||||||
|
if (!track->isInternal())
|
||||||
irr_driver->getTexture(track->getScreenshotFile());
|
irr_driver->getTexture(track->getScreenshotFile());
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user