dxx-rebirth/similar
Kp ce5cce0708 Update delayed weapon when updating primary for grant
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>
2016-06-25 23:21:36 +00:00
..
2d Rewrite simple integer casts from C style to static_cast<> 2016-06-05 01:04:26 +00:00
3d Rewrite simple integer casts from C style to static_cast<> 2016-06-05 01:04:26 +00:00
arch Rewrite simple integer casts from C style to static_cast<> 2016-06-16 03:56:44 +00:00
editor Add parentheses around casts of simple array subscripts 2016-06-25 23:21:36 +00:00
main Update delayed weapon when updating primary for grant 2016-06-25 23:21:36 +00:00
misc Rewrite simple pointer casts from C style to reinterpret_cast<> 2016-06-05 01:04:26 +00:00