diff options
author | rubidium <rubidium@openttd.org> | 2007-09-30 17:38:42 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-30 17:38:42 +0000 |
commit | ff14665f6ebde59e8ef17d8f0e06e2d3e5aefd65 (patch) | |
tree | 78422746fe8ad53b0a58d7e0952ad6b100782715 /src/main_gui.cpp | |
parent | c952f3d5eff35b04df91970e61ef1a50bac769ac (diff) | |
download | openttd-ff14665f6ebde59e8ef17d8f0e06e2d3e5aefd65.tar.xz |
(svn r11188) -Codechange: rewrite of the town action related code (remove some of the magic).
-Feature: possibility to disable exclusive rights and giving money. Both by skidd13.
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index 95289a1bd..b6314c676 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -65,7 +65,7 @@ bool _draw_bounding_boxes = false; void CcGiveMoney(bool success, TileIndex tile, uint32 p1, uint32 p2) { #ifdef ENABLE_NETWORK - if (!success) return; + if (!success || !_patches.give_money) return; char msg[20]; /* Inform the player of this action */ |