mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Fix: recent code additions broke savegame compatibility. Some code now also works for UB, as otherwise code gets needlessly complicated.
- Improved code git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6260 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+7
-10
@@ -2616,15 +2616,12 @@ void HandleSpeckWitnessingEmployeeDeath( SOLDIERTYPE* pSoldier ) // anv: handle
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef JA2UB
|
||||
#else
|
||||
void AddJohnAsMerc() // anv: add John as playable merc after escorting Kulbas out of country
|
||||
{
|
||||
LaptopSaveInfo.bJohnEscorted = TRUE;
|
||||
LaptopSaveInfo.uiJohnEscortedDate = GetWorldDay();
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
void AddJohnAsMerc() // anv: add John as playable merc after escorting Kulbas out of country
|
||||
{
|
||||
LaptopSaveInfo.bJohnEscorted = TRUE;
|
||||
LaptopSaveInfo.uiJohnEscortedDate = GetWorldDay();
|
||||
return;
|
||||
}
|
||||
|
||||
BOOLEAN ShouldSpeckSayAQuote()
|
||||
{
|
||||
@@ -2817,7 +2814,7 @@ BOOLEAN ShouldTheMercSiteServerGoDown()
|
||||
#else
|
||||
void GetMercSiteBackOnline()
|
||||
{
|
||||
if( IsSpeckComAvailable )
|
||||
if( IsSpeckComAvailable() )
|
||||
{
|
||||
//Add an email telling the user the site is back up
|
||||
AddEmail( MERC_NEW_SITE_ADDRESS, MERC_NEW_SITE_ADDRESS_LENGTH, SPECK_FROM_MERC, GetWorldTotalMin(), -1, -1 , TYPE_EMAIL_EMAIL_EDT);
|
||||
|
||||
Reference in New Issue
Block a user