diff options
author | smatz <smatz@openttd.org> | 2008-07-24 16:23:55 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-07-24 16:23:55 +0000 |
commit | c4c20c324f8632a37625fb20e30aa079b72ea00f (patch) | |
tree | 941caf124b66e6f3892ca2375377f09063c44d25 /src | |
parent | f1c0555d2e6863099f917c6a838b59523a4b86e3 (diff) | |
download | openttd-c4c20c324f8632a37625fb20e30aa079b72ea00f.tar.xz |
(svn r13817) -Cleanup (r13816): no need to check for ENABLE_NETWORK, _networking is defined anyway
Diffstat (limited to 'src')
-rw-r--r-- | src/train_cmd.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index f2be43e03..8cfa6a95c 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -210,11 +210,7 @@ static void RailVehicleLengthChanged(const Vehicle *u) GetString(buffer, STR_NEWGRF_BROKEN_VEHICLE_LENGTH, lastof(buffer)); DEBUG(grf, 0, "%s", buffer + 3); -#ifdef ENABLE_NETWORK if (!_networking) _pause_game = -1; -#else - _pause_game = -1; -#endif } } @@ -233,11 +229,8 @@ void CheckTrainsLengths() SetDParam(0, v->index); SetDParam(1, v->owner); ShowErrorMessage(INVALID_STRING_ID, STR_BROKEN_VEHICLE_LENGTH, 0, 0); -#ifdef ENABLE_NETWORK + if (!_networking) _pause_game = -1; -#else - _pause_game = -1; -#endif } } } |