diff --git a/stepmania/src/GameCommand.cpp b/stepmania/src/GameCommand.cpp index b49e3b7a30..6b1125495a 100644 --- a/stepmania/src/GameCommand.cpp +++ b/stepmania/src/GameCommand.cpp @@ -18,6 +18,7 @@ #include "Style.h" #include "Foreach.h" #include "Command.h" +#include "arch/Dialog/Dialog.h" void GameCommand::Init() { @@ -209,6 +210,13 @@ void GameCommand::Load( int iIndex, const Commands& cmds ) { m_sSongGroup = sValue; } + + else + { + CString sWarning = ssprintf( "Command '%s' is not valid.", command->GetOriginalCommandString().c_str() ); + LOG->Warn( sWarning ); + Dialog::OK( sWarning, "FRAME_DIMENSIONS_WARNING" ); + } } if( !m_bInvalid && sSteps != "" )