summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-10-12 18:41:53 +0000
committerrubidium <rubidium@openttd.org>2014-10-12 18:41:53 +0000
commit771dcf3b7b15f58e1d6fb2795e7df3c00ebf2809 (patch)
treee7c1e9afe60baf165648954cde2110ad598aefbd /src/saveload
parentfddeeb5e49f5daee49d79210dcfa1c845ff4a0d5 (diff)
downloadopenttd-771dcf3b7b15f58e1d6fb2795e7df3c00ebf2809.tar.xz
(svn r27003) -Cleanup: fix the use of spaces and asterices "around" some comments
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/game_sl.cpp4
-rw-r--r--src/saveload/saveload.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/saveload/game_sl.cpp b/src/saveload/game_sl.cpp
index cb3285426..325ae1c9d 100644
--- a/src/saveload/game_sl.cpp
+++ b/src/saveload/game_sl.cpp
@@ -78,7 +78,7 @@ static void Load_GSDT()
config->Change(_game_saveload_name, _game_saveload_version, false, _game_saveload_is_random);
if (!config->HasScript()) {
/* No version of the GameScript available that can load the data. Try to load the
- * latest version of the GameScript instead. */
+ * latest version of the GameScript instead. */
config->Change(_game_saveload_name, -1, false, _game_saveload_is_random);
if (!config->HasScript()) {
if (strcmp(_game_saveload_name, "%_dummy") != 0) {
@@ -93,7 +93,7 @@ static void Load_GSDT()
DEBUG(script, 0, "The latest version of that GameScript has been loaded instead, but it'll not get the savegame data as it's incompatible.");
}
/* Make sure the GameScript doesn't get the saveload data, as he was not the
- * writer of the saveload data in the first place */
+ * writer of the saveload data in the first place */
_game_saveload_version = -1;
}
}
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index 776d96c50..717777804 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -2790,9 +2790,9 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb, boo
InitializeGame(256, 256, true, true); // set a mapsize of 256x256 for TTDPatch games or it might get confused
/* TTD/TTO savegames have no NewGRFs, TTDP savegame have them
- * and if so a new NewGRF list will be made in LoadOldSaveGame.
- * Note: this is done here because AfterLoadGame is also called
- * for OTTD savegames which have their own NewGRF logic. */
+ * and if so a new NewGRF list will be made in LoadOldSaveGame.
+ * Note: this is done here because AfterLoadGame is also called
+ * for OTTD savegames which have their own NewGRF logic. */
ClearGRFConfigList(&_grfconfig);
GamelogReset();
if (!LoadOldSaveGame(filename)) return SL_REINIT;