Fix: Fixed compilation errors when trying to compile UB version

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8001 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2015-11-04 08:12:47 +00:00
parent 0ff8256c40
commit 38e77c7295
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -525,7 +525,9 @@ BOOLEAN ExecuteStrategicEvent( STRATEGICEVENT *pEvent )
case EVENT_PMC_REINFORCEMENT_ARRIVAL:
HandlePMCArrival( (UINT8)pEvent->uiParam );
break;
#ifdef JA2UB
// No Kingpin Events in UB
#else
case EVENT_KINGPIN_BOUNTY_INITIAL:
// if Kingpin, Angel and Maria are still alive, we can start the quest
if ( gMercProfiles[KINGPIN].bMercStatus != MERC_IS_DEAD && !CheckFact( FACT_KINGPIN_DEAD, NO_PROFILE ) && !CheckFact( FACT_KINGPIN_IS_ENEMY, NO_PROFILE ) &&
@@ -571,6 +573,7 @@ BOOLEAN ExecuteStrategicEvent( STRATEGICEVENT *pEvent )
EndQuest( QUEST_KINGPIN_ANGEL_MARIA, gWorldSectorX, gWorldSectorY );
break;
#endif
}
gfPreventDeletionOfAnyEvent = fOrigPreventFlag;
return TRUE;