creator/engine/src/creator_cmdscriptrun.cpp
changeset 28 4cc0d1a608c1
parent 27 271e901a9423
equal deleted inserted replaced
27:271e901a9423 28:4cc0d1a608c1
   115 		}
   115 		}
   116 	}
   116 	}
   117 
   117 
   118 void  CCreatorCmdScriptRun::Beat()
   118 void  CCreatorCmdScriptRun::Beat()
   119 	{
   119 	{
   120 	Tick();
   120 	TRAP_IGNORE( TickL() );
   121 	}
   121 	}
   122 
   122 
   123 void  CCreatorCmdScriptRun::Synchronize()
   123 void  CCreatorCmdScriptRun::Synchronize()
   124 	{
   124 	{
   125 	Tick();
   125     TRAP_IGNORE( TickL() );
   126 	}
   126 	}
   127 
   127 
   128 void  CCreatorCmdScriptRun::Tick()
   128 void  CCreatorCmdScriptRun::TickL()
   129 	{
   129 	{
   130 	iTickCount++;
   130 	iTickCount++;
   131 	if (iTickCount > KCommandLineDelay)
   131 	if (iTickCount > KCommandLineDelay)
   132 		{
   132 		{
   133 		iTimer->Cancel();
   133 		iTimer->Cancel();