Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » [Consistency Fix] Maria quest done
[Consistency Fix] Maria quest done[message #314654] Wed, 23 January 2013 22:55 Go to next message
mgl

 
Messages:254
Registered:December 2007
Location: France
A consistency fix on the "Rescue Maria" quest.

When the quest is done, the game makes Angel and Maria disappear from San Mona by setting their coordinates to 0.

But it set Maria's column to zero twice, leaving her row untouched, and did the opposite to Angel. Fortunately, one of the coordinates set to zero is enough to prevent a character from appearing. That's probably why no one ever noticed the bug.

This patch truly does nothing at all.


maria_quest_done.diff
Index: Build/Strategic/StrategicMap.cc
===================================================================
--- Build/Strategic/StrategicMap.cc	(revision 7072)
+++ Build/Strategic/StrategicMap.cc	(working copy)
@@ -1090,9 +1090,9 @@
 	{
 		// make sure Maria and Angel are gone
 		gMercProfiles[ MARIA ].sSectorX = 0;
+		gMercProfiles[ MARIA ].sSectorY = 0;
+		gMercProfiles[ ANGEL ].sSectorX = 0;
 		gMercProfiles[ ANGEL ].sSectorY = 0;
-		gMercProfiles[ MARIA ].sSectorX = 0;
-		gMercProfiles[ ANGEL ].sSectorY = 0;
 	}
 
 	if (sector == SEC_D5


Save the diff file at the root of the source code tree.

And apply it:
$ patch -p0 < maria_quest_done.diff

[Updated on: Sat, 27 April 2013 19:08] by Moderator


☆☆M☆☆
Re: [Consistency Fix] Maria quest done[message #316011] Wed, 06 March 2013 18:08 Go to previous message
Gennady

 
Messages:14
Registered:March 2013
Location: Russia
Applied to JA2-Stracciatella Continued
Previous Topic: Typo in Hourly_Update.cc
Next Topic: [Fix] Loyalty loss in tactical screen
Goto Forum:
  


Current Time: Wed Feb 22 23:51:53 EET 2017

Total time taken to generate the page: 0.00767 seconds