Some code cleanup + comments

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1152 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2003-08-29 23:46:21 +00:00
parent 199a98548a
commit f607f32036
+4 -3
View File
@@ -981,9 +981,10 @@ DoModifyShips (PMENU_STATE pMS)
UnlockStarShip ( UnlockStarShip (
&GLOBAL (built_ship_q), hStarShip &GLOBAL (built_ship_q), hStarShip
); );
if ((pMS->delta_item != MODIFY_CREW_FLAG)
&& (pMS->delta_item != 0)) // clear out the bought ship index
pMS->delta_item = MODIFY_CREW_FLAG; // so that flash rects work correctly
pMS->delta_item &= MODIFY_CREW_FLAG;
} }
CrewTransaction (crew_delta); CrewTransaction (crew_delta);
} }