mirror of
https://github.com/1dot13/source.git
synced 2026-08-26 14:30:26 +02:00
- Fixed MERC Buy Equipment flag not properly set by reverting & fixing buggy code optimizations in r6075 (by Buggler)
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6176 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Binary file not shown.
@@ -215,6 +215,8 @@ BOOLEAN gfMercSiteScreenIsReDrawn=FALSE;
|
|||||||
|
|
||||||
BOOLEAN gfJustHiredAMercMerc=FALSE;
|
BOOLEAN gfJustHiredAMercMerc=FALSE;
|
||||||
|
|
||||||
|
BOOLEAN fMercHireOverPlayerLimitMerc=FALSE;
|
||||||
|
|
||||||
BOOLEAN gfRedrawMercSite=FALSE;
|
BOOLEAN gfRedrawMercSite=FALSE;
|
||||||
|
|
||||||
BOOLEAN gfFirstTimeIntoMERCSiteSinceEnteringLaptop=FALSE;
|
BOOLEAN gfFirstTimeIntoMERCSiteSinceEnteringLaptop=FALSE;
|
||||||
@@ -512,6 +514,12 @@ BOOLEAN EnterMercs()
|
|||||||
//Display a popup msg box telling the user when and where the merc will arrive after hire
|
//Display a popup msg box telling the user when and where the merc will arrive after hire
|
||||||
if( gfJustHiredAMercMerc == TRUE )
|
if( gfJustHiredAMercMerc == TRUE )
|
||||||
DisplayPopUpBoxExplainingMercArrivalLocationAndTime();
|
DisplayPopUpBoxExplainingMercArrivalLocationAndTime();
|
||||||
|
//Display a popup msg box for max hire limit reached
|
||||||
|
else if( fMercHireOverPlayerLimitMerc == TRUE )
|
||||||
|
{
|
||||||
|
DoLapTopMessageBox( MSG_BOX_LAPTOP_DEFAULT, MercInfo[ MERC_FILES_HIRE_TO_MANY_PEOPLE_WARNING ], LAPTOP_SCREEN, MSG_BOX_FLAG_OK, NULL);
|
||||||
|
fMercHireOverPlayerLimitMerc = FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
//if NOT entering from a subsite
|
//if NOT entering from a subsite
|
||||||
if( gubArrivedFromMercSubSite == MERC_CAME_FROM_OTHER_PAGE )
|
if( gubArrivedFromMercSubSite == MERC_CAME_FROM_OTHER_PAGE )
|
||||||
|
|||||||
Reference in New Issue
Block a user