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 (
|
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user