Can't ask for resources just before transferring radioactives
(bug #432), from Nic git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1090 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
Changes towards version 0.3:
|
Changes towards version 0.3:
|
||||||
|
- Removed a place where you could ask for repairs when you shouldn't
|
||||||
|
(bug #432), from Nic
|
||||||
- Can use F10 to quit during splash screen as well as main menu -Michael
|
- Can use F10 to quit during splash screen as well as main menu -Michael
|
||||||
- Fixed starship location when being teleported from Procyon to
|
- Fixed starship location when being teleported from Procyon to
|
||||||
the Earth Starbase after the Precursor bomb is installed. - Svdb
|
the Earth Starbase after the Precursor bomb is installed. - Svdb
|
||||||
|
|||||||
@@ -249,25 +249,25 @@ NoRadioactives (RESPONSE_REF R)
|
|||||||
ClearSemaphore (GraphicsSem);
|
ClearSemaphore (GraphicsSem);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (GLOBAL_SIS (NumLanders) == 0)
|
|
||||||
{
|
|
||||||
if (GET_GAME_STATE (LANDERS_LOST))
|
|
||||||
Response (i_lost_another_lander, NoRadioactives);
|
|
||||||
else
|
|
||||||
Response (i_lost_my_lander, NoRadioactives);
|
|
||||||
}
|
|
||||||
if (GLOBAL_SIS (FuelOnBoard) < 2 * FUEL_TANK_SCALE)
|
|
||||||
{
|
|
||||||
if (GET_GAME_STATE (GIVEN_FUEL_BEFORE))
|
|
||||||
Response (need_fuel_again, NoRadioactives);
|
|
||||||
else
|
|
||||||
Response (need_fuel, NoRadioactives);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (GLOBAL_SIS (ElementAmounts[RADIOACTIVE]))
|
if (GLOBAL_SIS (ElementAmounts[RADIOACTIVE]))
|
||||||
GiveRadios (NULL_PTR);
|
GiveRadios (NULL_PTR);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (GLOBAL_SIS (NumLanders) == 0)
|
||||||
|
{
|
||||||
|
if (GET_GAME_STATE (LANDERS_LOST))
|
||||||
|
Response (i_lost_another_lander, NoRadioactives);
|
||||||
|
else
|
||||||
|
Response (i_lost_my_lander, NoRadioactives);
|
||||||
|
}
|
||||||
|
if (GLOBAL_SIS (FuelOnBoard) < 2 * FUEL_TANK_SCALE)
|
||||||
|
{
|
||||||
|
if (GET_GAME_STATE (GIVEN_FUEL_BEFORE))
|
||||||
|
Response (need_fuel_again, NoRadioactives);
|
||||||
|
else
|
||||||
|
Response (need_fuel, NoRadioactives);
|
||||||
|
}
|
||||||
|
|
||||||
Response (ok_i_will_get_radios, ByeBye);
|
Response (ok_i_will_get_radios, ByeBye);
|
||||||
if (PHRASE_ENABLED (where_can_i_get_radios))
|
if (PHRASE_ENABLED (where_can_i_get_radios))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user