add an option to not display the caution screen

This commit is contained in:
Glenn Maynard
2002-12-15 10:07:27 +00:00
parent c3435782d1
commit ab179acc1a
5 changed files with 15 additions and 1 deletions
+6
View File
@@ -32,6 +32,12 @@ ScreenCaution::ScreenCaution()
{
GAMESTATE->m_bPlayersCanJoin = true;
if(!PREFSMAN->m_bShowDontDie)
{
this->SendScreenMessage( SM_GoToNextScreen, 0.f );
return;
}
m_Background.LoadFromAniDir( THEME->GetPathTo("BGAnimations","caution") );
this->AddChild( &m_Background );