summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-14 21:49:13 +0000
committerrubidium <rubidium@openttd.org>2008-04-14 21:49:13 +0000
commit2152e1c420769cca45748df897aada7f9de266ca (patch)
treef8536b5583235b6f8cc7d23df25f27469e722d3b
parent3a84a74f4d0ceadac5736e48ad8c29575266ced2 (diff)
downloadopenttd-2152e1c420769cca45748df897aada7f9de266ca.tar.xz
(svn r12713) -Fix: misleading comment. Patch by Yexo.
-rw-r--r--src/group_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/group_cmd.cpp b/src/group_cmd.cpp
index 52f612cc0..17d82129c 100644
--- a/src/group_cmd.cpp
+++ b/src/group_cmd.cpp
@@ -39,7 +39,7 @@ static inline void UpdateNumEngineGroup(EngineID i, GroupID old_g, GroupID new_g
/* Decrease the num engines of EngineID i of the old group if it's not the default one */
if (!IsDefaultGroupID(old_g) && IsValidGroupID(old_g)) GetGroup(old_g)->num_engines[i]--;
- /* Increase the num engines of EngineID i of the new group if it's not the new one */
+ /* Increase the num engines of EngineID i of the new group if it's not the default one */
if (!IsDefaultGroupID(new_g) && IsValidGroupID(new_g)) GetGroup(new_g)->num_engines[i]++;
}
}