Bug Tracker – Full Text Bug Listing

Bug 1286

Summary: never switch enabled not working with first sg/plasma pickup
Product: Odamex Reporter: Nick <stlaurent.nicholas>
Component: ClientAssignee: Odamex Bug Reporter <odamex-bug-reporter>
Status: NEW ---    
Severity: normal CC: Ch0wW, mdvulture, odamex-bug-reporter
Priority: P5    
Version: 0.8.x   
Hardware: All   
OS: Other   

Description Nick 2019-07-20 19:13:31 UTC
With weapon preferences set to never switch, if you pick up the shotgun or plasma rifle as your first weapon you will switch.
Comment 1 Maƫllig Desmottes 2019-07-25 13:10:02 UTC
Have you found a way to reproduce this problem ?
Comment 2 HeX_Vulture 2019-12-22 19:03:43 UTC
I also could not reproduce this error. I joined a doom 2 deathmatch server with "switch on pickup: never" set and tried to run over every gun and never switched from the pistol. I tried in single player and online. The only time I switched is if the server enforced doom 2 weapon switch behavior, which is identical to "switch on pickup: always"
Comment 3 Nick 2020-04-14 13:41:31 UTC
This issue only occurred online. This is because of an ordering difference online vs single player exposing a bug with the ammo pickup code. Vanilla doom has checks to switch weapons when you are on pistol and you pickup up shells / cell ammo causing the problem.

Fixed in this PR for 0.9: