Skip to content

Commit

Permalink
Fix mixed up arguments in call to xrSASH::OnConsoleInvalidSyntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Kovalenko committed Oct 8, 2014
1 parent d00065b commit 08a7396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xrEngine/xr_ioc_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public :
Msg("~ Invalid syntax in call to '%s'",cName);
Msg("~ Valid arguments: %s", I);

g_SASH.OnConsoleInvalidSyntax("~ Invalid syntax in call to '%s'",cName, false);
g_SASH.OnConsoleInvalidSyntax("~ Valid arguments: %s", I, true);
g_SASH.OnConsoleInvalidSyntax(false, "~ Invalid syntax in call to '%s'", cName);
g_SASH.OnConsoleInvalidSyntax(true, "~ Valid arguments: %s", I);
}
virtual void Execute (LPCSTR args) = 0;
virtual void Status (TStatus& S) { S[0]=0; }
Expand Down

0 comments on commit 08a7396

Please sign in to comment.