forked from electronicarts/CnC_Generals_Zero_Hour
-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
BugSomething is not working right, typically is user facingSomething is not working right, typically is user facingMinorSeverity: Minor < Major < Critical < BlockerSeverity: Minor < Major < Critical < Blocker
Description
Prerequisites
- I have searched for similar issues and confirmed this is not a duplicate
Game Version
- Command & Conquer Generals
- Command & Conquer Generals: Zero Hour
- Other (please specify below)
Bug Description
Version: weekly-2025-10-10
Platform: Windows 10
Mods: None
When the Gatling Cannon is ordered to attack while the base lacks power, its barrels rotate as if firing, but no shots are actually fired.
Observed behavior
Barrels rotate despite insufficient energy.
No projectiles are fired and no energy is consumed.
Expected behavior
When out of power, the Gatling Cannon should stay idle or display a clear “no power” indicator.
Animation should only play when firing is possible.
Repro rate
Always (100%).
Notes / possible cause
The attack command triggers the barrel animation before checking the power state. Likely missing a power-check in the animation trigger.
Suggested fix
Gate the firing animation behind the same power check that allows firing — only start rotation when energy is available.
Reproduction Steps
- Start a new game as China.
- Build a Gatling Cannon.
- Ensure the base does not have sufficient energy (reduce power or disconnect/disable power sources).
- Order the Gatling Cannon to attack an enemy unit or structure.
2025-10-15.mp4
Additional Context
No response
Metadata
Metadata
Assignees
Labels
BugSomething is not working right, typically is user facingSomething is not working right, typically is user facingMinorSeverity: Minor < Major < Critical < BlockerSeverity: Minor < Major < Critical < Blocker