ignore spaces in metric commands

This commit is contained in:
Glenn Maynard
2003-05-07 04:03:46 +00:00
parent 60a13f806d
commit ee4968b986
+4
View File
@@ -651,6 +651,10 @@ void Actor::Command( CString sCommandString )
CStringArray asTokens;
split( asCommands[c], ",", asTokens, true );
for(unsigned d=0; d < asTokens.size(); d++)
{
TrimLeft(asTokens[d]); TrimRight(asTokens[d]);
}
int iMaxIndexAccessed = 0;
#define sParam(i) (GetParam(asTokens,i,iMaxIndexAccessed))