From 2152e1c420769cca45748df897aada7f9de266ca Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 14 Apr 2008 21:49:13 +0000 Subject: [PATCH] (svn r12713) -Fix: misleading comment. Patch by Yexo. --- src/group_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/group_cmd.cpp b/src/group_cmd.cpp index 52f612cc00..17d82129c0 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]++; } }