Grant processing code sets `Primary_weapon` to the user's preferred weapon, but the delayed autoselect code then changed it back to something else. Call select_primary_weapon instead of directly updating `Primary_weapon`, so that `Delayed_primary` is updated too. This also fixes a bug where the demo always recorded the player switching to lasers/concussion, instead of the values that the player actually received from the grant. Reported-by: Mako88 <https://github.com/dxx-rebirth/dxx-rebirth/issues/184> |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |