diff --git a/code/game/player.cpp b/code/game/player.cpp index d91c7764..d444da62 100644 --- a/code/game/player.cpp +++ b/code/game/player.cpp @@ -2007,15 +2007,6 @@ qboolean Player::checkrun return ( last_ucmd.buttons & BUTTON_RUN ) != 0; } -qboolean Player::checkholsterweapon - ( - Conditional &condition - ) - - { - return ( last_ucmd.buttons & BUTTON_HOLSTER ) != 0; - } - qboolean Player::checkuse ( Conditional &condition @@ -3964,7 +3955,6 @@ Condition Player::Conditions[] = { "default", &Player::returntrue }, { "SNEAK", &Player::checksneak }, { "RUN", &Player::checkrun }, - { "HOLSTERWEAPON", &Player::checkholsterweapon }, { "USE", &Player::checkuse }, { "LEFT", &Player::checkturnleft }, { "RIGHT", &Player::checkturnright }, diff --git a/code/game/player.h b/code/game/player.h index f414b40d..7607eacb 100644 --- a/code/game/player.h +++ b/code/game/player.h @@ -354,7 +354,6 @@ public: qboolean checkattackbuttonright( Conditional &condition ); qboolean checksneak( Conditional &condition ); qboolean checkrun( Conditional &condition ); - qboolean checkholsterweapon( Conditional &condition ); qboolean checkuse( Conditional &condition ); qboolean checkcanturn( Conditional &condition ); qboolean checkcanmoveright( Conditional &condition );