diff options
author | rubidium <rubidium@openttd.org> | 2008-04-14 21:49:13 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-04-14 21:49:13 +0000 |
commit | 5766d4a5c0e1745094aaf8bc2c91e1a6e0d7638e (patch) | |
tree | f8536b5583235b6f8cc7d23df25f27469e722d3b | |
parent | 90bd1e45eb68d73eada2dfde1dab5b949ca28dd4 (diff) | |
download | openttd-5766d4a5c0e1745094aaf8bc2c91e1a6e0d7638e.tar.xz |
(svn r12713) -Fix: misleading comment. Patch by Yexo.
-rw-r--r-- | src/group_cmd.cpp | 2 |
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]++; } } |