mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
The following options have been moved from the campaign the campaign start screen to JA2_Options.ini:
- Maximum number of IMPs (now MAX_IMP_CHARACTERS (Default: 10)) - Enemies drop all items (now DROP_ALL (Default: FALSE)) - Merc Story Backgrounds (now BACKGROUNDS (Default: TRUE)) - Food System (now FOOD (Default: FALSE)) - Improved Interrupt System (now IMPROVED_INTERRUPT_SYSTEM (Default: TRUE)) - Inventory Manipulation Costs AP (now INVENTORY_MANIPULATION_COSTS_AP (Default: FALSE)) For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23855&goto=354656&#msg_354656 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8610 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -6610,7 +6610,7 @@ void NCTHShowMounted( SOLDIERTYPE* pSoldier, UINT16* ptrBuf, UINT32 uiPitch, INT
|
||||
// Flugente: check a profile for a background flag without using SOLDIERTYPE
|
||||
BOOLEAN HasBackgroundFlag( UINT8 usProfile, UINT64 aFlag )
|
||||
{
|
||||
if ( gGameOptions.fBackGround && usProfile != NO_PROFILE )
|
||||
if ( UsingBackGroundSystem() && usProfile != NO_PROFILE )
|
||||
{
|
||||
if ( zBackground[gMercProfiles[usProfile].usBackground].uiFlags & aFlag )
|
||||
return TRUE;
|
||||
@@ -6621,7 +6621,7 @@ BOOLEAN HasBackgroundFlag( UINT8 usProfile, UINT64 aFlag )
|
||||
|
||||
INT16 GetBackgroundValue( UINT8 usProfile, UINT16 aNr )
|
||||
{
|
||||
if ( gGameOptions.fBackGround && usProfile != NO_PROFILE )
|
||||
if ( UsingBackGroundSystem() && usProfile != NO_PROFILE )
|
||||
{
|
||||
return zBackground[gMercProfiles[usProfile].usBackground].value[aNr];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user