Skip to content

Commit 05457f2

Browse files
committed
gameplay: allow non-giants to be tickled in mvm
Holiday Punch is currently completely non-functional in the mode otherwise, and common bots can already be stunned by other sources. it's only giants that are supposed to be immune.
1 parent 903a8ce commit 05457f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/server/tf/tf_player.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ void CTFPlayer::SetGrapplingHookTarget( CBaseEntity *pTarget, bool bShouldBleed
10921092
//-----------------------------------------------------------------------------
10931093
bool CTFPlayer::CanBeForcedToLaugh( void )
10941094
{
1095-
if ( TFGameRules() && TFGameRules()->IsMannVsMachineMode() && IsBot() && ( GetTeamNumber() == TF_TEAM_PVE_INVADERS ) )
1095+
if ( TFGameRules() && TFGameRules()->IsMannVsMachineMode() && IsBot() && ( GetTeamNumber() == TF_TEAM_PVE_INVADERS ) && IsMiniBoss() )
10961096
return false;
10971097

10981098
return true;

0 commit comments

Comments
 (0)