From 2905beb755e5013b8a5f5b17d5488f1b5d918488 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 7 Sep 2005 02:03:08 +0000 Subject: [PATCH] parse fix --- stepmania/src/ActorCommands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ActorCommands.cpp b/stepmania/src/ActorCommands.cpp index 2a47bfb998..e04aba17ef 100644 --- a/stepmania/src/ActorCommands.cpp +++ b/stepmania/src/ActorCommands.cpp @@ -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;