Fix increased number of NewGRFs support.

Improve error handling if multiplayer limit is exceeded.
This commit is contained in:
Jonathan G Rennison
2017-02-14 00:35:15 +00:00
parent 7e89b9789f
commit f89e8b76d6
8 changed files with 24 additions and 14 deletions

View File

@@ -90,8 +90,10 @@ enum FileSlots {
SOUND_SLOT = 1,
/** First slot usable for (New)GRFs used during the game. */
FIRST_GRF_SLOT = 2,
/** Maximum number of GRFs in single-player */
MAX_NEWGRFS = 256,
/** Maximum number of slots. */
MAX_FILE_SLOTS = 256,
MAX_FILE_SLOTS = 300,
};
/** Deals with finding savegames */