TheSuperHackers / SuperThyme

An open source re-implementation of Generals : Zero Hour written in C++.
GNU General Public License v2.0
0 stars 0 forks source link

WanderAIUpdate makes unit walk to north east instead of randomly about #5

Open commy2 opened 1 year ago

commy2 commented 1 year ago

Repro:

Kill Infantry with flame weapon. Make sure to not kill the FlamingInfantry guy that spawns from it by AOE damage.

The FlamingInfantry dude wanders to the north east of the map. He's supposed to wander in a random direction instead.

After a few seconds, he will die at which points he stops wandering. But any other object that would use WanderAIUpdate (via mod) would also wander to the north east.

commy2 commented 1 year ago

shot_20230813_170424_2

FireWallSegment is also a user of this module. If the locomotor is replaced with PanicHumanLocomotor, the effect can be seen. The regular Locomotor of this object has no wander attributes, so it is apparently not affected by this bug in 1.04 Zero Hour.