Fix crash related to #413 code: changing SIS crew when no escorts present
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1173 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -820,6 +820,7 @@ DoModifyShips (PMENU_STATE pMS)
|
|||||||
else if (select || cancel)
|
else if (select || cancel)
|
||||||
{
|
{
|
||||||
if ((pMS->delta_item & MODIFY_CREW_FLAG)
|
if ((pMS->delta_item & MODIFY_CREW_FLAG)
|
||||||
|
&& hStarShip != 0
|
||||||
&& StarShipPtr->ShipInfo.crew_level == 0)
|
&& StarShipPtr->ShipInfo.crew_level == 0)
|
||||||
{
|
{
|
||||||
SetFlashRect (NULL_PTR, (FRAME)0);
|
SetFlashRect (NULL_PTR, (FRAME)0);
|
||||||
|
|||||||
Reference in New Issue
Block a user