Cleanup: remove the old FIO slot functions

(cherry picked from commit fa6abe1646)
This commit is contained in:
Rubidium
2021-04-21 18:40:37 +02:00
committed by Jonathan G Rennison
parent eecf7c8525
commit e227bbaff0
9 changed files with 17 additions and 160 deletions

View File

@@ -1516,7 +1516,7 @@ private:
if (!HasBit((*list)->flags, GCF_STATIC)) count++;
}
if (entry == nullptr) entry = list;
if (count >= MAX_NEWGRFS) {
if (count >= MAX_NON_STATIC_GRF_COUNT) {
ShowErrorMessage(STR_NEWGRF_TOO_MANY_NEWGRFS, INVALID_STRING_ID, WL_INFO);
return false;
}