Bug 55926 - Units sometimes fail to attack while moving with attacking
Summary: Units sometimes fail to attack while moving with attacking
Status: RESOLVED FIXED
Alias: None
Product: boson
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: The Boson Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-13 18:15 UTC by Rivo Laks
Modified: 2003-03-23 15:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rivo Laks 2003-03-13 18:15:59 UTC
Version:            (using KDE 3.1.1)
Installed from:    compiled sources
Compiler:          gcc version 3.2.1
OS:          Linux (i686) release 2.4.18

Under certain circumstances, units won't attack enemy units in range while moving (when moveAttacking). It happens when unit is not facing target. When unit reaches waypoint, it checks for enemies in range. If there are any enemies, then then sets advanceWork to WorkTurn and tries to turn to enemy, but when turning is completed, advanceWork is set to back to WorkMove and unit continues moving.
I'll try to fix it sometimes, but it's quite hard and ATM I've got no good ideas on how to do this.

Rivo
Comment 1 Rivo Laks 2003-03-23 15:06:22 UTC
It's fixed now. 
 
Rivo