(svn r11180) -Fix (r11175): crash on load when you don't have any NewGRFs. More interesting is: who plays without them ;)

This commit is contained in:
rubidium 2007-09-28 17:04:52 +00:00
parent 9f552ae0b3
commit 08fd0030d2
1 changed files with 1 additions and 0 deletions

View File

@ -406,6 +406,7 @@ void ScanNewGRFFiles()
}
DEBUG(grf, 1, "Scan complete, found %d files", num);
if (num == 0 || _all_grfs == NULL) return;
/* Sort the linked list using quicksort.
* For that we first have to make an array, the qsort and