mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Fix for Dynamic Opinions feature not respecting ini setting and not allowing it to be disabled easily (by Shadooow).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9002 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -461,7 +461,10 @@ void HourlyLarryUpdate()
|
||||
fTookDrugs = TRUE;
|
||||
|
||||
// Flugente: dynamic opinion
|
||||
HandleDynamicOpinionChange( pSoldier, OPINIONEVENT_ADDICT, TRUE, FALSE );
|
||||
if (gGameExternalOptions.fDynamicOpinions)
|
||||
{
|
||||
HandleDynamicOpinionChange(pSoldier, OPINIONEVENT_ADDICT, TRUE, FALSE);
|
||||
}
|
||||
|
||||
if ( fBar )
|
||||
{
|
||||
@@ -645,7 +648,10 @@ void HourlyDisabilityUpdate( )
|
||||
pSoldier->bBleeding = oldbleeding;
|
||||
|
||||
// Flugente: dynamic opinions
|
||||
HandleDynamicOpinionChange( pSoldier, OPINIONEVENT_ANNOYINGDISABILITY, TRUE, TRUE );
|
||||
if (gGameExternalOptions.fDynamicOpinions)
|
||||
{
|
||||
HandleDynamicOpinionChange(pSoldier, OPINIONEVENT_ANNOYINGDISABILITY, TRUE, TRUE);
|
||||
}
|
||||
|
||||
// say something (which might also alert the player to what we just did)
|
||||
TacticalCharacterDialogue( pSoldier, QUOTE_PERSONALITY_TRAIT );
|
||||
@@ -820,7 +826,10 @@ void HourlyStealUpdate()
|
||||
}
|
||||
|
||||
// Flugente: dynamic opinion
|
||||
HandleDynamicOpinionChange( pSoldier, OPINIONEVENT_THIEF, TRUE, FALSE );
|
||||
if (gGameExternalOptions.fDynamicOpinions)
|
||||
{
|
||||
HandleDynamicOpinionChange(pSoldier, OPINIONEVENT_THIEF, TRUE, FALSE);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user