mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Externalized (by Buggler)
- AWOL scientist location - Brothel sector - Call Kingpin over for boxing match - fact Tony in building - meet Carmen for reward - moved John & Mary unescort sector from Mod_Settings.ini to LUA git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6495 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1991,9 +1991,10 @@ BOOLEAN UnRecruitEPC( UINT8 ubCharNum )
|
||||
|
||||
// update sector values to current
|
||||
|
||||
//Buggler: code only works on map reload so consolidate to HandleEarlyMorningEvents
|
||||
// check to see if this person should disappear from the map after this
|
||||
if ( (ubCharNum == JOHN || ubCharNum == MARY) && pSoldier->sSectorX == gModSettings.ubJohnUnescortSectorX &&
|
||||
pSoldier->sSectorY == gModSettings.ubJohnUnescortSectorY && pSoldier->bSectorZ == gModSettings.ubJohnUnescortSectorZ ) // ( 13, MAP_ROW_B, 0 )
|
||||
/*if ( (ubCharNum == JOHN || ubCharNum == MARY) && pSoldier->sSectorX == 13 &&
|
||||
pSoldier->sSectorY == MAP_ROW_B && pSoldier->bSectorZ == 0 )
|
||||
{
|
||||
gMercProfiles[ ubCharNum ].sSectorX = 0;
|
||||
gMercProfiles[ ubCharNum ].sSectorY = 0;
|
||||
@@ -2004,7 +2005,11 @@ BOOLEAN UnRecruitEPC( UINT8 ubCharNum )
|
||||
gMercProfiles[ ubCharNum ].sSectorX = pSoldier->sSectorX;
|
||||
gMercProfiles[ ubCharNum ].sSectorY = pSoldier->sSectorY;
|
||||
gMercProfiles[ ubCharNum ].bSectorZ = pSoldier->bSectorZ;
|
||||
}
|
||||
}*/
|
||||
|
||||
gMercProfiles[ ubCharNum ].sSectorX = pSoldier->sSectorX;
|
||||
gMercProfiles[ ubCharNum ].sSectorY = pSoldier->sSectorY;
|
||||
gMercProfiles[ ubCharNum ].bSectorZ = pSoldier->bSectorZ;
|
||||
|
||||
// how do we decide whether or not to set this?
|
||||
gMercProfiles[ ubCharNum ].ubMiscFlags3 |= PROFILE_MISC_FLAG3_PERMANENT_INSERTION_CODE;
|
||||
|
||||
Reference in New Issue
Block a user