diff options
author | alberth <alberth@openttd.org> | 2010-08-02 20:47:27 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-08-02 20:47:27 +0000 |
commit | 0e900039f3531f0f64e93e216eb44e45b463d5b7 (patch) | |
tree | 96f4f0630ee6b21d875dcfe08bde38ab453b3a1f /src/town_cmd.cpp | |
parent | 4781f1fa92b18df31bef4e632f0efd50a89ed1d2 (diff) | |
download | openttd-0e900039f3531f0f64e93e216eb44e45b463d5b7.tar.xz |
(svn r20320) -Doc: Small Doxygen and normal comment fixes, and an missed addition.
Diffstat (limited to 'src/town_cmd.cpp')
-rw-r--r-- | src/town_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp index 9b9a2e7ab..e64951bb1 100644 --- a/src/town_cmd.cpp +++ b/src/town_cmd.cpp @@ -2822,12 +2822,12 @@ static int GetRating(const Town *t) * Changes town rating of the current company * @param t Town to affect * @param add Value to add - * @param max Minimum (add < 0) resp. maximum (add > 0) rating that should be archievable with this change + * @param max Minimum (add < 0) resp. maximum (add > 0) rating that should be achievable with this change. * @param flags Command flags, especially DC_NO_MODIFY_TOWN_RATING is tested */ void ChangeTownRating(Town *t, int add, int max, DoCommandFlag flags) { - /* if magic_bulldozer cheat is active, town doesn't penaltize for removing stuff */ + /* if magic_bulldozer cheat is active, town doesn't penalize for removing stuff */ if (t == NULL || (flags & DC_NO_MODIFY_TOWN_RATING) || !Company::IsValidID(_current_company) || (_cheats.magic_bulldozer.value && add < 0)) { |