mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-22 01:30:50 +00:00
Made classic flashlight single player only
This commit is contained in:
parent
53925f9f31
commit
504e7f5591
2 changed files with 2 additions and 2 deletions
|
@ -5961,7 +5961,7 @@ void idPlayer::UpdateWeapon()
|
|||
// RB
|
||||
bool idPlayer::UsesClassicFlashlight()
|
||||
{
|
||||
return ( ng_classicFlashlight.GetBool() || fileSystem->IsDoom2004() );
|
||||
return ( ( ng_classicFlashlight.GetBool() || fileSystem->IsDoom2004() ) && !common->IsMultiplayer() );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -120,7 +120,7 @@ void idMenuScreen_Shell_GameOptions::Initialize( idMenuHandler* data )
|
|||
|
||||
control = new( TAG_SWF ) idMenuWidget_ControlButton();
|
||||
control->SetOptionType( OPTION_SLIDER_TOGGLE );
|
||||
control->SetLabel( "Classic Flashlight" );
|
||||
control->SetLabel( "Classic Flashlight (SP)" );
|
||||
control->SetDataSource( &systemData, idMenuDataSource_GameSettings::GAME_FIELD_CLASSIC_FLASHLIGHT );
|
||||
control->SetupEvents( DEFAULT_REPEAT_TIME, options->GetChildren().Num() );
|
||||
control->AddEventAction( WIDGET_EVENT_PRESS ).Set( WIDGET_ACTION_PRESS_FOCUSED, options->GetChildren().Num() );
|
||||
|
|
Loading…
Reference in a new issue