Do not reset Syreen HELLO stack when discovering the vault; fixes bug #891
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@3600 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
Changes towards version 0.7:
|
Changes towards version 0.7:
|
||||||
|
- Syreen dialog tree no longer resets after visiting the Syreen Vault
|
||||||
|
for the very first time (bug #891) - Alex
|
||||||
- Fixed lander report at the Syreen Vault inconsistency (bug #1121) - Alex
|
- Fixed lander report at the Syreen Vault inconsistency (bug #1121) - Alex
|
||||||
- Added lander reports for Supox ruins and Ultron. The reports text
|
- Added lander reports for Supox ruins and Ultron. The reports text
|
||||||
is new content from TFB. (bug #1120) - Alex
|
is new content from TFB. (bug #1120) - Alex
|
||||||
|
|||||||
@@ -694,6 +694,7 @@ PlanAmbush (RESPONSE_REF R)
|
|||||||
NPCPhrase (OK_FOUND_VAULT);
|
NPCPhrase (OK_FOUND_VAULT);
|
||||||
|
|
||||||
SET_GAME_STATE (MYCON_AMBUSH, 1);
|
SET_GAME_STATE (MYCON_AMBUSH, 1);
|
||||||
|
// This is redundant but left here for clarity
|
||||||
SET_GAME_STATE (SYREEN_HOME_VISITS, 0);
|
SET_GAME_STATE (SYREEN_HOME_VISITS, 0);
|
||||||
|
|
||||||
Response (whats_my_reward, Foreplay);
|
Response (whats_my_reward, Foreplay);
|
||||||
@@ -818,6 +819,12 @@ Intro (void)
|
|||||||
else if (GET_GAME_STATE (SHIP_VAULT_UNLOCKED))
|
else if (GET_GAME_STATE (SHIP_VAULT_UNLOCKED))
|
||||||
{
|
{
|
||||||
PlanAmbush ((RESPONSE_REF)0);
|
PlanAmbush ((RESPONSE_REF)0);
|
||||||
|
// XXX: PlanAmbush() sets SYREEN_HOME_VISITS=0, but then this value
|
||||||
|
// is immediately reset to NumVisits just below. The intent was to
|
||||||
|
// reset the HELLO stack so that is what we will do here as well.
|
||||||
|
// Note that it is completely redundant because genvault.c resets
|
||||||
|
// SYREEN_HOME_VISITS when it sets SHIP_VAULT_UNLOCKED=1.
|
||||||
|
NumVisits = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -118,7 +118,6 @@ GenerateVault_pickupEnergy (SOLARSYS_STATE *solarSys, PLANET_DESC *world,
|
|||||||
if (!GET_GAME_STATE (KNOW_SYREEN_VAULT))
|
if (!GET_GAME_STATE (KNOW_SYREEN_VAULT))
|
||||||
{
|
{
|
||||||
SET_GAME_STATE (KNOW_SYREEN_VAULT, 1);
|
SET_GAME_STATE (KNOW_SYREEN_VAULT, 1);
|
||||||
SET_GAME_STATE (SYREEN_HOME_VISITS, 0);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user