struct bAction *BL_ActionManager::GetCurrentAction(short layer) { BL_Action *action = GetAction(layer); return action ? action->GetAction() : 0; }