From dc8b48126826784bca3f9acc12463ed2ccad473d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 27 Mar 2007 00:24:21 +0000 Subject: [PATCH] temporary fix for 004f2fec: void debug_crash(void) [00400000+f2fda+12] 004dc1f0: void sm_crash(char const *) [00400000+dc1d5+1b] 005aa73e: class Style const * GameManager::GetFirstCompatibleStyle(class Game const *,int,enum StepsType)const [00400000+1aa6a9+95] 005ae440: void GameState::JoinPlayer(enum PlayerNumber) [00400000+1ae3c4+7c] 7c421201: MSVCP80!std::char_traits::_Copy_s [7c420000+11ec+15] 00418707: void ScreenEditMenu::Init(void) [00400000+186ee+19] --- stepmania/src/ScreenEditMenu.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/ScreenEditMenu.cpp b/stepmania/src/ScreenEditMenu.cpp index bd4111dae2..fec8d1c2b6 100644 --- a/stepmania/src/ScreenEditMenu.cpp +++ b/stepmania/src/ScreenEditMenu.cpp @@ -31,6 +31,9 @@ REGISTER_SCREEN_CLASS( ScreenEditMenu ); void ScreenEditMenu::Init() { + /* HACK: Disable any style set by the editor. */ + GAMESTATE->m_pCurStyle.Set( NULL ); + /* Enable all players. */ FOREACH_PlayerNumber( pn ) GAMESTATE->JoinPlayer( pn );