summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-09-30 17:38:42 +0000
committerrubidium <rubidium@openttd.org>2007-09-30 17:38:42 +0000
commitff14665f6ebde59e8ef17d8f0e06e2d3e5aefd65 (patch)
tree78422746fe8ad53b0a58d7e0952ad6b100782715 /src/main_gui.cpp
parentc952f3d5eff35b04df91970e61ef1a50bac769ac (diff)
downloadopenttd-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.cpp2
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 */