mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 03:24:52 +00:00
Add back GetActiveTFWeapon in test cmd
This commit is contained in:
parent
d561b57dab
commit
df174c271c
1 changed files with 1 additions and 1 deletions
|
@ -20289,7 +20289,7 @@ void TestIgnitePlayer( const CCommand &args )
|
|||
return;
|
||||
|
||||
float flBurningTime = args.ArgC() >= 2 ? atof(args[1]) : TF_BURNING_FLAME_LIFE;
|
||||
pPlayer->m_Shared.Burn( pPlayer, NULL, flBurningTime );
|
||||
pPlayer->m_Shared.Burn( pPlayer, pPlayer->GetActiveTFWeapon(), flBurningTime );
|
||||
}
|
||||
static ConCommand cc_IgnitePlayer( "tf_ignite_player", TestIgnitePlayer, "Sets you on fire", FCVAR_CHEAT | FCVAR_DEVELOPMENTONLY );
|
||||
|
||||
|
|
Loading…
Reference in a new issue