Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002016Zandronum[All Projects] Bugpublic2014-12-01 16:122015-02-01 18:09
ReporterEdward-san 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002016: SNDINFO ambient sound status is not reset when the map resets
DescriptionTry the example wad I attached (ambient_sound_reset.wad).

Area 'I' has an ambient sound which is dormant on start, area 'II' has an ambient sound which is active on start.

If you disable/enable the ambient sounds, the change won't be reset after a map reset.
Steps To Reproduceserver: zandronum -iwad DOOM2.WAD -file ambient_sounds_reset.wad -host -warp 01 -skill 4 -nobroadcast +survival 1

client: zandronum -iwad DOOM2.WAD -file ambient_sounds_reset.wad -connect localhost

- press left button of 'I' area to activate 'imp/sight1' ambient sound (right button redisactivates it)
or
- press left button of 'II' area to disable 'imp/sight2' ambient sound (right button reactivates it)

- press the ResetMap button in front of the start.
Attached Files? file icon MAP01_StartupSoundTestV2.wad [^] (5,428 bytes) 2014-12-06 03:33
? file icon ambient_sounds_reset.wad [^] (10,683 bytes) 2014-12-18 15:43

- Relationships

-  Notes
User avatar (0011581)
Edward-san (developer)
2015-02-01 18:07
edited on: 2015-02-01 18:09

Some considerations:

1) GAME_DormantStatusMatchesOriginal doesn't return the right result for the ambient sounds in the example wad, when the ambient sounds are changed.

2) Adding a check for AMusicChanger in the '( pActor->flags3 & MF3_ISMONSTER ) && (( pActor->health > 0 ) || ( pActor->flags & MF_ICECORPSE ))' doesn't fix the issue, because 'pNewActor = Spawn( RUNTIME_TYPE( pActor ), X, Y, Z, NO_REPLACE );', called later, returns NULL.


Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2014-12-01 16:12 Edward-san New Issue
2014-12-01 18:31 Edward-san Description Updated View Revisions
2014-12-01 18:31 Edward-san Steps to Reproduce Updated View Revisions
2014-12-04 22:26 Edward-san File Added: MAP01_StartupSoundtest.wad
2014-12-04 22:36 Edward-san Summary Some looping sounds are not silenced after a survival map restart => SNDINFO looping sound is not silenced after a survival map restart
2014-12-04 22:36 Edward-san Description Updated View Revisions
2014-12-04 22:36 Edward-san Steps to Reproduce Updated View Revisions
2014-12-04 22:42 Edward-san Steps to Reproduce Updated View Revisions
2014-12-04 22:43 Edward-san Steps to Reproduce Updated View Revisions
2014-12-06 03:32 Edward-san File Deleted: MAP01_StartupSoundtest.wad
2014-12-06 03:33 Edward-san File Added: MAP01_StartupSoundTestV2.wad
2014-12-06 03:36 Edward-san Steps to Reproduce Updated View Revisions
2014-12-06 03:41 Edward-san Steps to Reproduce Updated View Revisions
2014-12-18 15:42 Edward-san Description Updated View Revisions
2014-12-18 15:42 Edward-san Steps to Reproduce Updated View Revisions
2014-12-18 15:43 Edward-san File Added: ambient_sounds_reset.wad
2014-12-18 15:46 Edward-san Summary SNDINFO looping sound is not silenced after a survival map restart => SNDINFO ambient sound status is not reset when the map resets
2014-12-18 15:46 Edward-san Description Updated View Revisions
2015-02-01 18:07 Edward-san Note Added: 0011581
2015-02-01 18:09 Edward-san Note Edited: 0011581 View Revisions






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker