View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000181 | Spring engine | General | public | 2006-05-27 23:38 | 2006-07-06 18:24 | ||||
Reporter | colorblind | ||||||||
Assigned To | colorblind | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000181: Attack isn't canceled when enemy unit goes outside LOS | ||||||||
Description | When you issue an attack, it isn't canceled when enemy unit goes outside LOS. You would expect this to happen, because if you don't know where the unit is then you can't follow it around and try to attack it, yet this is exactly what happens. If you hold down Shift you can even tell the unit's location. | ||||||||
Additional Information | This is easily fixed by adding an LOS check in the SlowUpdate function of the commandAI files (sim/Units/CommandAI/*.cpp), right next to the check "if(targetDied)" in the CMD_ATTACK case of the switch. I just don't know if it would gobble up a whole lot of resources, as the LOS handler might be a bit slow (but I'm only guessing here). | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
suit (reporter) 2006-05-28 20:45 |
i figured that out too, its very annoying for targeted players on very small maps if you found the commander once you can target it with some guardian and it wont stop firing till the unit gets out of range |
alphabeta (reporter) 2006-07-03 00:16 |
colorblind fixed this but it wasnt marked as resolved http://svn.berlios.de/wsvn/taspring-linux/?rev=1564&sc=1 |
tvo (reporter) 2006-07-06 18:24 |
fixed in svn |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2006-05-27 23:38 | colorblind | New Issue | |
2006-05-28 20:45 | suit | Note Added: 0000202 | |
2006-07-03 00:16 | alphabeta | Note Added: 0000272 | |
2006-07-06 18:24 | tvo | Status | new => assigned |
2006-07-06 18:24 | tvo | Assigned To | => tvo |
2006-07-06 18:24 | tvo | Assigned To | tvo => colorblind |
2006-07-06 18:24 | tvo | Status | assigned => resolved |
2006-07-06 18:24 | tvo | Resolution | open => fixed |
2006-07-06 18:24 | tvo | Note Added: 0000283 |