MantisBT - Zandronum
View Issue Details
0004172Zandronum[All Projects] Bugpublic2023-11-27 02:092024-03-23 05:36
here100 
 
normaltweakalways
resolvedfixed 
MicrosoftWindowsXP/Vista/7
3.1 
3.23.2 
0004172: +TOUCHY doesn't work in zandro, but theres code written for it
It just doesn't work. So if you wanted to make an actor die upon touch you would need to make it die through it's melee state

'https://github.com/TorrSamaho/zandronum/blob/a27eaef3246672dae1fb24099ac7d34137178585/src/p_mobj.cpp#L1474 [^]'
Anything that has the +TOUCHY flag
No tags attached.
? TOUCHY TEST.wad (1,103) 2023-11-29 02:37
https://zandronum.com/tracker/file_download.php?file_id=2873&type=bug
Issue History
2023-11-27 02:09here100New Issue
2023-11-28 15:01WaTaKiDNote Added: 0022924
2023-11-29 02:37here100File Added: TOUCHY TEST.wad
2023-11-29 02:37here100Note Added: 0022925
2023-11-29 02:38here100Note Edited: 0022925bug_revision_view_page.php?bugnote_id=22925#r14011
2023-11-29 10:48here100Note Added: 0022926
2023-12-01 17:16here100Note Added: 0022927
2023-12-02 01:20KaminskyNote Added: 0022928
2023-12-02 01:21KaminskyNote Edited: 0022928bug_revision_view_page.php?bugnote_id=22928#r14013
2024-03-16 22:27Ru5tK1ngNote Added: 0023411
2024-03-16 22:27Ru5tK1ngStatusnew => needs review
2024-03-17 13:48KaminskyNote Added: 0023417
2024-03-17 13:48KaminskyStatusneeds review => needs testing
2024-03-17 13:48KaminskyTarget Version => 3.2
2024-03-23 05:36Ru5tK1ngNote Added: 0023470
2024-03-23 05:36Ru5tK1ngFixed in Version => 3.2
2024-03-23 05:36Ru5tK1ngStatusneeds testing => resolved
2024-03-23 05:36Ru5tK1ngResolutionopen => fixed

Notes
(0022924)
WaTaKiD   
2023-11-28 15:01   
can you provide a minimal example wad?
is the issue also present in gzdoom 1.8.6?
(0022925)
here100   
2023-11-29 02:37   
(edited on: 2023-11-29 02:38)
I have uploaded a wad called 'TOUCHY TEST.wad' it's only 1 kb in size. It replaces the Lost soul, i took this out of a different wad btw doesnt matter, and gives it some different functions. The point is that the Lost Soul is suppose to die upon being touched.

On GZdoom 1.8.6 it dies upon touch
On ZDOOM it dies upon touch
On Zandro it doesnt die

note: you have to use the fly cheat to touch the lost souls

(0022926)
here100   
2023-11-29 10:48   
I compared all the pieces of code that mention +TOUCHY and the only difference between Gzdoom 1.8.6 and Zandronum i found was this:

In zandronum this piece of code after 'NULL' is commented out:

'https://github.com/TorrSamaho/zandronum/blob/a27eaef3246672dae1fb24099ac7d34137178585/src/p_map.cpp#L991C1-L991C1 [^]'

In Gzdoom 1.8.6 it's not:

'https://github.com/ZDoom/gzdoom/blob/g1.8.6/src/p_map.cpp#L917 [^]'
(0022927)
here100   
2023-12-01 17:16   
NOTE: +TOUCHY Works on zandro 2.1.2
(0022928)
Kaminsky   
2023-12-02 01:20   
(edited on: 2023-12-02 01:21)
For the record, the regression was caused by this commit:
'http://hg.osdn.net/view/zandronum/zandronum-stable/rev/cc82bb513aff [^]'

Followed by this merge:
'http://hg.osdn.net/view/zandronum/zandronum-stable/rev/3f7914cc986b [^]'

(0023411)
Ru5tK1ng   
2024-03-16 22:27   
Should work offline and online with this:

'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/65 [^]'
(0023417)
Kaminsky   
2024-03-17 13:48   
This got pushed in:'https://foss.heptapod.net/zandronum/zandronum-stable/-/commit/7252077c7d42513e1519fe092674a4de63aadf8c [^]'
(0023470)
Ru5tK1ng   
2024-03-23 05:36   
Pulled the latest changes and touchy wad works fine offline and online now.