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 previous message
mgl is currently offline mgl

 
Messages:255
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

Report message to a moderator

Master Sergeant
 
Read Message
Read Message
Previous Topic: Typo in Hourly_Update.cc
Next Topic: [Fix] Loyalty loss in tactical screen
Goto Forum:
  


Current Time: Sun Jan 12 20:46:20 GMT+2 2025

Total time taken to generate the page: 0.00978 seconds