diff options
author | Darkvater <darkvater@openttd.org> | 2005-05-17 16:07:48 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-05-17 16:07:48 +0000 |
commit | 166c1badc91d8ab0211f16e7c90b8c011e2b4a74 (patch) | |
tree | efcb05b249ff430eac804d30c6de32425edb026e /console_cmds.c | |
parent | 143dd26ef5a4edb1ab8b3d918c7c3268f8a6a077 (diff) | |
download | openttd-166c1badc91d8ab0211f16e7c90b8c011e2b4a74.tar.xz |
(svn r2338) - CodeChange: only call the variable hooks when you set their value not when you query them
- Fix: typo in pool.c "Cleaing up" --> "Cleaning up"
Diffstat (limited to 'console_cmds.c')
-rw-r--r-- | console_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c index 3b2159142..d10c36ebf 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -1115,7 +1115,7 @@ DEF_CONSOLE_HOOK(ConHookServerName) DEF_CONSOLE_HOOK(ConHookServerAdvertise) { - if (!_network_advertise) + if (!_network_advertise) // remove us from advertising NetworkUDPRemoveAdvertise(); return true; |