parse fix

This commit is contained in:
Glenn Maynard
2005-09-07 02:03:08 +00:00
parent 438b712da2
commit 2905beb755
+1 -1
View File
@@ -9,7 +9,7 @@
ActorCommands::ActorCommands( const CString &sCommands )
{
if( sCommands.size() > 4 && sCommands[1] == '\033' )
if( sCommands.size() > 0 && sCommands[0] == '\033' )
{
/* This is a compiled Lua chunk. Just pass it on directly. */
m_sLuaFunction = sCommands;