(svn r12713) -Fix: misleading comment. Patch by Yexo.

This commit is contained in:
rubidium 2008-04-14 21:49:13 +00:00
parent 3a84a74f4d
commit 2152e1c420

View File

@ -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]++;
}
}