Always call LoadAllCommands explicitly.

The hack to LoadAllCommands when playing a command was leading to weird interactions: If a theme element contained an OnCommand, it would cause the rest of the commands defined in metrics to not be loaded.
This commit is contained in:
Chris Danford
2007-02-19 09:30:07 +00:00
parent d72ebfa33e
commit 599db61b62
42 changed files with 236 additions and 236 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ void ScreenTestFonts::Init()
txt.SetName( "Text" );
SetFont( THEME->GetPathF("", FONT(1)) );
SET_XY_AND_ON_COMMAND( txt );
LOAD_ALL_COMMANDS_AND_SET_XY_AND_ON_COMMAND( txt );
SetText( "Foo" );
}