diff options
author | yexo <yexo@openttd.org> | 2009-08-18 20:36:56 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-08-18 20:36:56 +0000 |
commit | a8773bba2dda31eb31fb2f37e6fa7d5c79e89a5c (patch) | |
tree | e2ca875f661346b9993dec85d13c6a74828785e8 /src | |
parent | 67106dc0633c50ef6545d0ab6253384b276ab40e (diff) | |
download | openttd-a8773bba2dda31eb31fb2f37e6fa7d5c79e89a5c.tar.xz |
(svn r17215) -Cleanup: remove unused return value
Diffstat (limited to 'src')
-rw-r--r-- | src/saveload/afterload.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index 055407a7d..9ddef77ce 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -202,10 +202,8 @@ static inline RailType UpdateRailType(RailType rt, RailType min) * the intialization of the windows and caches quite some bugs * had been made. * Moving this out of there is both cleaner and less bug-prone. - * - * @return true if everything went according to plan, otherwise false. */ -static bool InitializeWindowsAndCaches() +static void InitializeWindowsAndCaches() { /* Initialize windows */ ResetWindowSystem(); @@ -239,8 +237,6 @@ static bool InitializeWindowsAndCaches() UpdateAirportsNoise(); CheckTrainsLengths(); - - return true; } typedef void (CDECL *SignalHandlerPointer)(int); @@ -1910,10 +1906,10 @@ bool AfterLoadGame() GamelogPrintDebug(1); - bool ret = InitializeWindowsAndCaches(); + InitializeWindowsAndCaches(); /* Restore the signals */ ResetSignalHandlers(); - return ret; + return true; } /** Reload all NewGRF files during a running game. This is a cut-down |