Fixed Fwiffo join_us_refusals initialization (bug #405)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1017 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
gewlitys
2003-07-04 23:44:51 +00:00
parent b8577cba42
commit d5ba66cad5
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -1,4 +1,5 @@
Changes towards version 0.3: Changes towards version 0.3:
- Fixed Fwiffo join_us_refusals initialization (bug #405) -Mika
- Fix Druuge transactions to not elevate crew costs baselessly (bug #235), - Fix Druuge transactions to not elevate crew costs baselessly (bug #235),
from ghakko from ghakko
- Fixed glitches and NULL Stamp draw attempt in menu code (bug #26) -Mika - Fixed glitches and NULL Stamp draw attempt in menu code (bug #26) -Mika
+4 -2
View File
@@ -190,6 +190,8 @@ ExitConversation (RESPONSE_REF Response)
} }
} }
static BYTE join_us_refusals;
static void static void
SpathiOnPluto (RESPONSE_REF R) SpathiOnPluto (RESPONSE_REF R)
{ {
@@ -309,8 +311,6 @@ SpathiOnPluto (RESPONSE_REF R)
} }
else if (PLAYER_SAID (R, join_us)) else if (PLAYER_SAID (R, join_us))
{ {
static BYTE join_us_refusals;
if (join_us_refusals == 0) if (join_us_refusals == 0)
{ {
NPCPhrase (WONT_JOIN_1); NPCPhrase (WONT_JOIN_1);
@@ -692,6 +692,8 @@ Intro (void)
Manner = GET_GAME_STATE (SPATHI_MANNER); Manner = GET_GAME_STATE (SPATHI_MANNER);
if (GET_GAME_STATE (FOUND_PLUTO_SPATHI) == 1) if (GET_GAME_STATE (FOUND_PLUTO_SPATHI) == 1)
{ {
join_us_refusals = 0;
NPCPhrase (SORRY_ABOUT_THAT); NPCPhrase (SORRY_ABOUT_THAT);
/* if already know password from Melnorme, /* if already know password from Melnorme,