mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Kyle takes over the San Mona leather shop once his quest is over
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7887 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1140,16 +1140,20 @@ UINT32 GetArmsDealerItemTypeFromItemNumber( UINT16 usItem )
|
||||
|
||||
BOOLEAN IsMercADealer( UINT8 ubMercID )
|
||||
{
|
||||
UINT8 cnt;
|
||||
|
||||
// Manny is not actually a valid dealer unless a particular event sets that fact
|
||||
if( ( ubMercID == MANNY ) && !CheckFact( FACT_MANNY_IS_BARTENDER, 0 ) )
|
||||
{
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
// Flugente: if we give Kyle the deed of the leather shop, he becomes a shop owner
|
||||
if ( (ubMercID == KYLE) && gubQuest[QUEST_LEATHER_SHOP_DREAM] != QUESTDONE )
|
||||
{
|
||||
return(FALSE);
|
||||
}
|
||||
|
||||
//loop through the list of arms dealers
|
||||
for( cnt=0; cnt<NUM_ARMS_DEALERS; cnt++ )
|
||||
for ( UINT8 cnt = 0; cnt<NUM_ARMS_DEALERS; ++cnt )
|
||||
{
|
||||
if( armsDealerInfo[ cnt ].ubShopKeeperID == ubMercID )
|
||||
return( TRUE );
|
||||
|
||||
Reference in New Issue
Block a user