Skip to content

Commit 690e0f5

Browse files
committed
gameplay: add a cvar to adjust max player speed
ref: ValveSoftware/Source-1-Games#4572
1 parent 3b36fc3 commit 690e0f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/game/shared/tf/tf_gamemovement.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ unsigned int CTFGameMovement::PlayerSolidMask( bool brushOnly )
287287
return ( uMask | BaseClass::PlayerSolidMask( brushOnly ) );
288288
}
289289

290+
static ConVar tf_movement_maxspeed("tf_movement_maxspeed", V_STRINGIFY(TF_MAX_SPEED), FCVAR_REPLICATED, "Maximum movement speed for players.");
291+
290292
//-----------------------------------------------------------------------------
291293
// Purpose: Overridden to allow players to run faster than the maxspeed
292294
//-----------------------------------------------------------------------------

0 commit comments

Comments
 (0)