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:
mcmartin
2003-07-28 04:43:59 +00:00
parent 39e291252c
commit 2336893e50
2 changed files with 17 additions and 15 deletions
+2
View File
@@ -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
+4 -4
View File
@@ -249,6 +249,10 @@ NoRadioactives (RESPONSE_REF R)
ClearSemaphore (GraphicsSem); ClearSemaphore (GraphicsSem);
} }
if (GLOBAL_SIS (ElementAmounts[RADIOACTIVE]))
GiveRadios (NULL_PTR);
else
{
if (GLOBAL_SIS (NumLanders) == 0) if (GLOBAL_SIS (NumLanders) == 0)
{ {
if (GET_GAME_STATE (LANDERS_LOST)) if (GET_GAME_STATE (LANDERS_LOST))
@@ -264,10 +268,6 @@ NoRadioactives (RESPONSE_REF R)
Response (need_fuel, NoRadioactives); Response (need_fuel, NoRadioactives);
} }
if (GLOBAL_SIS (ElementAmounts[RADIOACTIVE]))
GiveRadios (NULL_PTR);
else
{
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))
{ {