Crew death on planet is now counted properly in all cases (bug #70)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1084 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-07-23 22:58:00 +00:00
parent ca3d8b99f9
commit 694c5a7bd7
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -421,6 +421,8 @@ DeltaLanderCrew (SIZE crew_delta, COUNT which_disaster)
ShieldFlags = GET_GAME_STATE (LANDER_SHIELDS);
ShieldFlags &= 1 << which_disaster;
crew_delta = HIBYTE (pMenuState->delta_item);
if (crew_delta < 1)
return;
if (ShieldFlags && (BYTE)TFB_Random () < 256 * 95 / 100)
pMenuState->delta_item = SHIELD_BIT;
else