Mercurial > hg > openttd
changeset 9705:228505046e27 draft
(svn r13817) -Cleanup (r13816): no need to check for ENABLE_NETWORK, _networking is defined anyway
author | smatz <smatz@openttd.org> |
---|---|
date | Thu, 24 Jul 2008 16:23:55 +0000 |
parents | e1476334067a |
children | 3ad9235e5485 |
files | src/train_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -210,11 +210,7 @@ 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 @@ 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 } } }