forked from electronicarts/CnC_Generals_Zero_Hour
-
Notifications
You must be signed in to change notification settings - Fork 162
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 < BlockerUnit AIIs related to unit behaviorIs related to unit behavior
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
The train is supposed to kill all the factions buildings when colliding with it.
But the train is unable to kill Supplycenters, internetcenters and fakebuildings.
RailroadGuideAIUpdate.cpp has the following in the code.
if (other->isKindOf( KINDOF_FS_POWER ) ||
other->isKindOf( KINDOF_FS_FACTORY ) ||
other->isKindOf( KINDOF_FS_BASE_DEFENSE ) ||
other->isKindOf( KINDOF_FS_TECHNOLOGY ) ||
other->isKindOf( KINDOF_REBUILD_HOLE ) )
{
We got to add the following 3 building types that are lacking.
other->isKindOf( KINDOF_FS_SUPPLY_CENTER ) ||
other->isKindOf( KINDOF_FS_INTERNET_CENTER) ||
other->isKindOf( KINDOF_FS_FAKE ) ||
But I am not really familiar with making pull requests and adding none retail compatible tags to it.
So if someone can make this pull request it would be awesome, thx.
Before
2026-02-16.17-32-55.mp4
After
2026-02-16.17-31-33.mp4
Reproduction Steps
- Start this map and watch
Additional Context
No response
Reactions are currently unavailable
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 < BlockerUnit AIIs related to unit behaviorIs related to unit behavior