Fix always switching back to mgun in Q3 controls menu

Caused by 120e296a74.
This commit is contained in:
Zack Middleton 2014-05-18 20:27:18 -05:00
parent 5c4e429471
commit daa570c193

View file

@ -216,7 +216,7 @@ typedef struct
vec3_t playerMoveangles; vec3_t playerMoveangles;
int playerLegs; int playerLegs;
int playerTorso; int playerTorso;
int playerWeapon; weapon_t playerWeapon;
qboolean playerChat; qboolean playerChat;
menubitmap_s back; menubitmap_s back;
@ -434,7 +434,7 @@ static void Controls_UpdateModel( int anim ) {
s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW]; s_controls.playerMoveangles[YAW] = s_controls.playerViewangles[YAW];
s_controls.playerLegs = LEGS_IDLE; s_controls.playerLegs = LEGS_IDLE;
s_controls.playerTorso = TORSO_STAND; s_controls.playerTorso = TORSO_STAND;
s_controls.playerWeapon = -1; s_controls.playerWeapon = WP_NUM_WEAPONS;
s_controls.playerChat = qfalse; s_controls.playerChat = qfalse;
switch( anim ) { switch( anim ) {