Ejemplo n.º 1
0
func ControlStop(object clonk, int control)
{
	if (GetEffect("ElevatorControl", this))
		if (control == CON_Up || control == CON_Down)
		{
			var effect = GetEffect("ElevatorControl", this);
			effect.controlled = nil;
			return effect.case->ControlStop(clonk, control);
		}
Ejemplo n.º 2
0
void freettcn::TM::CTestManagement::Abort()
{
    try {
        if (_status != NOT_RUNNING) {
            if (_tc)
                TestCaseStop();
            else
                ControlStop();
        }
    } catch(EOperationFailed &) {
        std::cout << "ERROR: " << __FUNCTION__ << " problem!!!" << std::endl;
    }
}