Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » Typo in Hourly_Update.cc
Typo in Hourly_Update.cc[message #262712] Wed, 15 September 2010 21:38 Go to previous message
public1983 is currently offline public1983

 
Messages:125
Registered:February 2006

Larry is supposed to fall off the wagon, if he has access to drugs. This includes the check whether his current sector has a bar. Drassen has got two bars. By a typo one is located at the airport for Larry instead of the mine-sector:
		if ( usTemptation < BAR_TEMPTATION && GetCurrentBalance() >= Item[ ALCOHOL ].usPrice )
		{
			if ( pSoldier->bSectorZ == 0 &&
-						( ( pSoldier->sSectorX == 13 && pSoldier->sSectorY == MAP_ROW_B) ||
+                                               ( ( pSoldier->sSectorX == 13 && pSoldier->sSectorY == MAP_ROW_D) ||
							( pSoldier->sSectorX == 13 && pSoldier->sSectorY == MAP_ROW_C) ||
							( pSoldier->sSectorX == 5 && pSoldier->sSectorY == MAP_ROW_C) ||
							( pSoldier->sSectorX == 6 && pSoldier->sSectorY == MAP_ROW_C) ||
							( pSoldier->sSectorX == 5 && pSoldier->sSectorY == MAP_ROW_D) ||
							( pSoldier->sSectorX == 2 && pSoldier->sSectorY == MAP_ROW_H)
						)
				)
			{
				// in a bar!
				fBar = TRUE;
				usTemptation = BAR_TEMPTATION;
			}
		}

Fix by replacing line - with +.

Report message to a moderator

Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Typo in Items.cc
Next Topic: [Consistency Fix] Maria quest done
Goto Forum:
  


Current Time: Sun Jan 12 15:53:49 GMT+2 2025

Total time taken to generate the page: 0.00684 seconds