MantisBT - Zandronum |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0002078 | Zandronum | [All Projects] Bug | public | 2015-01-22 10:38 | 2018-09-30 23:04 |
|
Reporter | hjalg | |
Assigned To | Dusk | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Microsoft | OS | Windows | OS Version | 8.1 |
Product Version | 1.4 | |
Target Version | 2.0 | Fixed in Version | 2.0 | |
|
Summary | 0002078: SetActivatorToTarget is broken with "Autoaim: Never". |
Description | When you turn off your autoaim you should be able to aim perfectly to an actor's hitbox, but you have to aim to an empty space on the right side of the actor instead. |
Steps To Reproduce | |
Additional Information | Works as intended in 1.3 but broken in 2.0. Tested with clean zandronum.ini configs in opengl/software modes. |
Tags | No tags attached. |
Relationships | related to | 0001226 | closed | Watermelon | Leniency with vertical autoaim |
|
Attached Files | SetActivatorToTarget_2.0.wad (2,572) 2015-01-22 10:38 /tracker/file_download.php?file_id=1390&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2015-01-22 10:38 | hjalg | New Issue | |
2015-01-22 10:38 | hjalg | File Added: SetActivatorToTarget_2.0.wad | |
2015-01-25 10:19 | Torr Samaho | Note Added: 0011527 | |
2015-01-25 10:42 | Edward-san | Note Added: 0011528 | |
2015-01-25 10:42 | Edward-san | Product Version | 2.0-beta => 1.4 |
2015-01-25 10:43 | Edward-san | Note Edited: 0011528 | bug_revision_view_page.php?bugnote_id=11528#r6521 |
2015-01-25 11:09 | Edward-san | Note Edited: 0011528 | bug_revision_view_page.php?bugnote_id=11528#r6524 |
2015-01-25 11:09 | Edward-san | Note Edited: 0011528 | bug_revision_view_page.php?bugnote_id=11528#r6525 |
2015-01-25 11:19 | Edward-san | Note Edited: 0011528 | bug_revision_view_page.php?bugnote_id=11528#r6526 |
2015-01-25 12:00 | Edward-san | Note Edited: 0011528 | bug_revision_view_page.php?bugnote_id=11528#r6531 |
2015-01-25 12:00 | Edward-san | Note Edited: 0011528 | bug_revision_view_page.php?bugnote_id=11528#r6532 |
2015-01-25 12:03 | Edward-san | Relationship added | related to 0001226 |
2015-01-25 12:08 | Edward-san | Note Edited: 0011528 | bug_revision_view_page.php?bugnote_id=11528#r6533 |
2015-01-25 12:25 | Edward-san | Note Added: 0011536 | |
2015-01-25 12:51 | Torr Samaho | Note Added: 0011538 | |
2015-01-25 18:42 | Dusk | Assigned To | => Dusk |
2015-01-25 18:42 | Dusk | Status | new => assigned |
2015-01-25 19:01 | Dusk | Note Added: 0011544 | |
2015-01-25 19:01 | Dusk | Status | assigned => needs review |
2015-02-01 11:31 | cobalt | Status | needs review => needs testing |
2015-02-01 11:31 | cobalt | Target Version | => 2.0 |
2015-02-01 11:31 | cobalt | Note Added: 0011576 | |
2015-03-05 01:37 | WaTaKiD | Note Added: 0011769 | |
2015-03-05 02:03 | Dusk | Status | needs testing => resolved |
2015-03-05 02:03 | Dusk | Fixed in Version | => 2.0 |
2015-03-05 02:03 | Dusk | Resolution | open => fixed |
2018-09-30 23:04 | Blzut3 | Status | resolved => closed |
Notes |
|
|
|
|
(0011528)
|
Edward-san
|
2015-01-25 10:42
(edited on: 2015-01-25 12:08) |
|
Actually, it's broken somehow in 1.4, with the same symptoms ...
[edit]If I enable compat_autoaim, the bug disappears.
[edit2] The problem started from commit 18219b6dc864 , which introduced the compat flag.
[edit3] This code:
i = compatflags2 & COMPATF2_AUTOAIM ? 2 : 14; // [CK] Our starting index depends on compatflags.
is wrong because its logic is reverted. Changing that code to:
i = compatflags2 & COMPATF2_AUTOAIM ? 14 : 2; // [CK] Our starting index depends on compatflags.
works. Also, the angdiff table should avoid doing shift of negative values!
Although, even if we fix these problems, the fact that when compat_autoaim is on, the problem shows up, it's still considered as a bug, right?
[edit4] Ok, if I move the third value of angdiff, which is 0, to the last position, it works also with compat_autoaim on.
|
|
|
|
In zdoom, 0 is processed first, then the two angles. In zandronum, since the compat_autoaim introduces other angles, which order of processing is the right one? |
|
|
|
I cannot say what Water was intending here, but I'd say that Zandronum should do the same as ZDoom and process 0 first in all cases. |
|
|
(0011544)
|
Dusk
|
2015-01-25 19:01
|
|
|
|
(0011576)
|
cobalt
|
2015-02-01 11:31
|
|
|
|
|
after testing with 2.0-r150224-1833, issue seems fixed |
|