[GEN][ZH] Fix nationalism and fanaticism bonuses being applied independent of horde status - #385
Generalcamo wants to merge 2 commits into
Conversation
…ardless of horde status.
|
|
||
| } // end if | ||
| else | ||
| // nationalism |
There was a problem hiding this comment.
This needs wrapping in a conditional block so we can merge the fix into the codebase while maintaining compatibility for now, in the future we can remove the compatibility and the fix will be in the code.
#if !RETAIL_COMPATIBLE_CRC
fixed nationalism code here
#endifblock
| us->clearWeaponBonusCondition( WEAPONBONUSCONDITION_NATIONALISM ); | ||
| } | ||
| } | ||
| else { |
There was a problem hiding this comment.
The original nationalism code block needs putting back and wrapping in a
#if RETAIL_COMPATIBLE_CRC
original nationalism code
#endifblock
| //if ( draw && !us->isKindOf( KINDOF_PORTABLE_STRUCTURE ) ) | ||
| // draw->setTerrainDecal(TERRAIN_DECAL_NONE); | ||
|
|
||
| // TheSuperHackers @bugfix GeneralCamo 06/03/2025 Corrected nationalism being applied regardless of horde status - issue #173 |
There was a problem hiding this comment.
can drop the issue at the end of the comment and the comment wants to be more concise to what it is fixing
"prevent nationalism being applied independent of horde status" etc
| //if ( draw && !us->isKindOf( KINDOF_PORTABLE_STRUCTURE ) ) | ||
| // draw->setTerrainDecal(TERRAIN_DECAL_NONE); | ||
|
|
||
| // TheSuperHackers @bugfix GeneralCamo 06/03/2025 Corrected nationalism being applied regardless of horde status - issue #173 |
There was a problem hiding this comment.
Ditto in the zero hour changes as to the generals changes, but applied to both nationalism and fanaticism
|
I have reimplemented the fix in #1582, because this change breaks retail compatibility but it should not do that by default. |
This PR fixes Nationalism and Fanaticism bonuses being applied independent of horde status.