use Dialog

This commit is contained in:
Glenn Maynard
2004-06-10 22:47:51 +00:00
parent 77c42f991d
commit 211f9b852a
10 changed files with 41 additions and 42 deletions
+2 -2
View File
@@ -2,14 +2,14 @@
#include "ActorCommands.h"
#include "RageUtil.h"
#include "RageLog.h"
#include "arch/ArchHooks/ArchHooks.h"
#include "arch/Dialog/Dialog.h"
void IncorrectActorParametersWarning( const ParsedCommand &command, int iMaxIndexAccessed )
{
const CString sError = ssprintf( "Actor::HandleCommand: Wrong number of parameters in command '%s'. Expected %d but there are %u.",
command.GetOriginalCommandString().c_str(), iMaxIndexAccessed+1, unsigned(command.vTokens.size()) );
LOG->Warn( sError );
HOOKS->MessageBoxOK( sError );
Dialog::OK( sError );
}
void ParsedCommandToken::Set( const CString &sToken )