diff options
author | maedhros <maedhros@openttd.org> | 2008-01-27 17:32:12 +0000 |
---|---|---|
committer | maedhros <maedhros@openttd.org> | 2008-01-27 17:32:12 +0000 |
commit | f95fb570adc9d3f228082083601cc07e5b7e7621 (patch) | |
tree | 8523fc515f0e4f5486b87f18142ee4ef76b6e19b /src/economy.cpp | |
parent | ec1d5478891d365e4db4da5bc0e4eb1a51779dec (diff) | |
download | openttd-f95fb570adc9d3f228082083601cc07e5b7e7621.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.cpp | 2 |
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; |