ce5cce0708
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> |
||
---|---|---|
common | ||
contrib | ||
d1x-rebirth | ||
d2x-rebirth | ||
Documentation | ||
similar | ||
.gitignore | ||
COPYING.txt | ||
GPL-3.txt | ||
INSTALL.markdown | ||
SConstruct |