don't crash if SCREENMAN isn't up (this should probably be done

by the caller)
This commit is contained in:
Glenn Maynard
2006-09-21 04:57:38 +00:00
parent 4be207e419
commit 10f0929551
+1
View File
@@ -214,6 +214,7 @@ void StepMania::ApplyGraphicOptions()
TEXTUREMAN->ReloadAll(); TEXTUREMAN->ReloadAll();
StoreActualGraphicOptions(); StoreActualGraphicOptions();
if( SCREENMAN )
SCREENMAN->SystemMessage( GetActualGraphicOptionsString() ); SCREENMAN->SystemMessage( GetActualGraphicOptionsString() );
/* Give the input handlers a chance to re-open devices as necessary. */ /* Give the input handlers a chance to re-open devices as necessary. */