move IsWindowed check inside of ArchHooks_Win32

This commit is contained in:
Chris Danford
2003-11-15 06:08:13 +00:00
parent c8c4b5ec0b
commit c123681854
10 changed files with 54 additions and 54 deletions
+2 -4
View File
@@ -248,8 +248,7 @@ void RageMatrixCommand( CString sCommandString, RageMatrix &mat )
{
CString sError = ssprintf( "MatrixCommand: Unrecognized matrix command name '%s' in command string '%s'.", sName.c_str(), sCommandString.c_str() );
LOG->Warn( sError );
if( DISPLAY->IsWindowed() )
HOOKS->MessageBoxOK( sError );
HOOKS->MessageBoxOK( sError );
continue;
}
@@ -258,8 +257,7 @@ void RageMatrixCommand( CString sCommandString, RageMatrix &mat )
{
CString sError = ssprintf( "MatrixCommand: Wrong number of parameters in command '%s'. Expected %d but there are %d.", join(",",asTokens).c_str(), iMaxIndexAccessed+1, (int)asTokens.size() );
LOG->Warn( sError );
if( DISPLAY->IsWindowed() )
HOOKS->MessageBoxOK( sError );
HOOKS->MessageBoxOK( sError );
continue;
}