summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorYexo <yexo@openttd.org>2009-01-19 01:16:50 +0000
committerYexo <yexo@openttd.org>2009-01-19 01:16:50 +0000
commit8fabd3982dfcce450913bfe09850a44c37663137 (patch)
treedcdc93b44d361dd4888710622c6fd6f28accfb9a /src/saveload
parentee1331bb465dea93e7f32d768faa376f907aaca5 (diff)
downloadopenttd-8fabd3982dfcce450913bfe09850a44c37663137.tar.xz
(svn r15148) -Cleanup: Remove the options "competitor start time" and "competitor intelligence" from the difficulty options because they already were unused.
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/oldloader.cpp4
-rw-r--r--src/saveload/saveload.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/saveload/oldloader.cpp b/src/saveload/oldloader.cpp
index 9fea7ac4d..6c8103457 100644
--- a/src/saveload/oldloader.cpp
+++ b/src/saveload/oldloader.cpp
@@ -1207,14 +1207,14 @@ static inline bool LoadOldSubsidy(LoadgameState *ls, int num)
static const OldChunks game_difficulty_chunk[] = {
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, max_no_competitors ),
- OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, competitor_start_time ),
+ OCL_NULL( 2), // competitor_start_time
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, number_towns ),
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, number_industries ),
OCL_SVAR( OC_FILE_U16 | OC_VAR_U32, DifficultySettings, max_loan ),
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, initial_interest ),
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, vehicle_costs ),
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, competitor_speed ),
- OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, competitor_intelligence ),
+ OCL_NULL( 2), // competitor_intelligence
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, vehicle_breakdowns ),
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, subsidy_multiplier ),
OCL_SVAR( OC_FILE_U16 | OC_VAR_U8, DifficultySettings, construction_cost ),
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index badef5e0c..58808f84f 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -42,7 +42,7 @@
#include <list>
-extern const uint16 SAVEGAME_VERSION = 109;
+extern const uint16 SAVEGAME_VERSION = 110;
SavegameType _savegame_type; ///< type of savegame we are loading