| Anonymous | Login | Signup for a new account | 2025-11-04 20:50 UTC |
| My View | View Issues | Change Log | Roadmap | Zandronum Issue Support Ranking | Rules | My Account |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0004564 | Zandronum | [All Projects] Bug | public | 2025-09-27 11:51 | 2025-10-24 16:52 | ||||
| Reporter | Fused | ||||||||
| Assigned To | |||||||||
| Priority | high | Severity | minor | Reproducibility | random | ||||
| Status | closed | Resolution | no change required | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0004564: Players with +NOMORPHLIMITATIONS randomly have weapons taken on map change. | ||||||||
| Description | The flag seems to have a bug where weapons do not persist. This seems semi-random but I personally have it persistently take the rocketlauncher when it does trigger. During ZH2 testing, the super shotgun and jacksgun were randomly taken. This does not happen every time. Happens both online and offline. | ||||||||
| Steps To Reproduce | Open pk3s with Doom 2. Puke 2 to give weapons. Puke 3 to change map. Weapons given: shotgun, chaingun, rocketlauncher On map change, I personally never had the rocketlauncher anymore. | ||||||||
| Attached Files | |||||||||
Notes |
|
|
Ru5tK1ng (updater) 2025-10-24 03:22 edited on: 2025-10-24 03:45 |
After some debugging, turns out this issue has nothing to do with level changes or +NOMORPHLIMITATIONS. I found the cause of why weapons disappear: bool correctweapon = !!(player->MorphStyle & MORPH_LOSEACTUALWEAPON); As per the ZDOOM wiki, that flag basically causes an unmorphing player to lose a weapon they obtained after they first morphed. Without it set, the engine just takes away whatever weapon was selected when unmorphing began. DECORATE cannot set MorphStyle flags but ZScript added the ability to. I'm not sure what the best solution for this is. I will submit what I think makes the most sense currently given we don't have access to MorphStyle. Edit: Turns out you set the MorphStyle via the morph power up definition. |
|
Ru5tK1ng (updater) 2025-10-24 03:51 |
Should be fixed with this:'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/345 [^]' |
|
Ru5tK1ng (updater) 2025-10-24 16:52 |
Closing:'https://foss.heptapod.net/zandronum/zandronum-stable/-/merge_requests/345#note_489320 [^]' |
|
This issue is already marked as resolved. If you feel that is not the case, please reopen it and explain why. |
|
| Supporters: | No one explicitly supports this issue yet. |
| Opponents: | No one explicitly opposes this issue yet. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2025-09-27 11:51 | Fused | New Issue | |
| 2025-09-27 11:51 | Fused | File Added: MorphWeaponRemovalBug.zip | |
| 2025-10-24 03:22 | Ru5tK1ng | Note Added: 0024591 | |
| 2025-10-24 03:45 | Ru5tK1ng | Note Edited: 0024591 | View Revisions |
| 2025-10-24 03:51 | Ru5tK1ng | Note Added: 0024592 | |
| 2025-10-24 03:51 | Ru5tK1ng | Status | new => needs review |
| 2025-10-24 16:52 | Ru5tK1ng | Note Added: 0024593 | |
| 2025-10-24 16:52 | Ru5tK1ng | Status | needs review => closed |
| 2025-10-24 16:52 | Ru5tK1ng | Resolution | open => no change required |
| Copyright © 2000 - 2025 MantisBT Team |