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:
@@ -981,9 +981,10 @@ DoModifyShips (PMENU_STATE pMS)
|
||||
UnlockStarShip (
|
||||
&GLOBAL (built_ship_q), hStarShip
|
||||
);
|
||||
if ((pMS->delta_item != MODIFY_CREW_FLAG)
|
||||
&& (pMS->delta_item != 0))
|
||||
pMS->delta_item = MODIFY_CREW_FLAG;
|
||||
|
||||
// clear out the bought ship index
|
||||
// so that flash rects work correctly
|
||||
pMS->delta_item &= MODIFY_CREW_FLAG;
|
||||
}
|
||||
CrewTransaction (crew_delta);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user