Skip to content

Instantly share code, notes, and snippets.

@daftmugi
Created September 19, 2023 20:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daftmugi/0cf16fba76c10171053e52726a508a91 to your computer and use it in GitHub Desktop.
Save daftmugi/0cf16fba76c10171053e52726a508a91 to your computer and use it in GitHub Desktop.
diff --git game/physics/Physics_Player.cpp game/physics/Physics_Player.cpp
index bf3e085..4a797ad 100644
--- game/physics/Physics_Player.cpp
+++ game/physics/Physics_Player.cpp
@@ -2413,7 +2413,7 @@ void idPhysics_Player::CheckClimbable( void )
{
m_bClimbInitialPhase = true;
m_vClimbPoint = vStickPoint;
- static_cast<idPlayer *>(self)->SetImmobilization( "ClimbMove", EIM_WEAPON_SELECT | EIM_ATTACK );
+ static_cast<idPlayer *>(self)->SetImmobilization( "ClimbMove", EIM_ATTACK );
}
m_bOnClimb = true;
@@ -2854,7 +2854,7 @@ void idPhysics_Player::MovePlayer( int msec ) {
m_bOnRope = true;
// lower weapon
- static_cast<idPlayer*>(self)->SetImmobilization( "RopeMove", EIM_WEAPON_SELECT | EIM_ATTACK | EIM_ITEM_DROP );
+ static_cast<idPlayer*>(self)->SetImmobilization( "RopeMove", EIM_ATTACK | EIM_ITEM_DROP );
RopeMove();
}
@@ -4300,7 +4300,7 @@ void idPhysics_Player::StartMantle
}
// Ishtvan 11/20/05 - Lower weapons when mantling
- static_cast<idPlayer*>(self)->SetImmobilization( "MantleMove", EIM_WEAPON_SELECT | EIM_ATTACK );
+ static_cast<idPlayer*>(self)->SetImmobilization( "MantleMove", EIM_ATTACK );
// greebo: Disable the next mantle start here, this is set to TRUE again
// when the jump key is released outside a mantle phase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment