summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2008-01-27 17:32:12 +0000
committermaedhros <maedhros@openttd.org>2008-01-27 17:32:12 +0000
commit21eef65e77db9645115621ed36b46050d358acbf (patch)
tree8523fc515f0e4f5486b87f18142ee4ef76b6e19b /src/economy.cpp
parent0847def759cd8c07d880387779d2d54cdc5382f8 (diff)
downloadopenttd-21eef65e77db9645115621ed36b46050d358acbf.tar.xz
(svn r11994) -Codechange: Remove numbers from string names where the strings aren't present in TTD, since they don't correspond to either TTD's TextIDs or OpenTTD's StringIDs.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index 0891d27a1..995b63afe 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -1871,7 +1871,7 @@ CommandCost CmdBuyShareInCompany(TileIndex tile, uint32 flags, uint32 p1, uint32
if (!p->is_active) return CMD_ERROR;
/* Protect new companies from hostile takeovers */
- if (_cur_year - p->inaugurated_year < 6) return_cmd_error(STR_7080_PROTECTED);
+ if (_cur_year - p->inaugurated_year < 6) return_cmd_error(STR_PROTECTED);
/* Those lines are here for network-protection (clients can be slow) */
if (GetAmountOwnedBy(p, PLAYER_SPECTATOR) == 0) return cost;