$$ACTION Level Goals [e:Enable/Disable] goal [l:LevelGoal] aGoalEnableDisable Enable/disable goal Enable or disable the specified goal Parameters: Enable/Disable: whether the goal should be enabled or disabled LevelGoal: the goal to set $$END */
| 5084 | $$END |
| 5085 | */ |
| 5086 | void aGoalEnableDisable(int enabled, int goal_index) { |
| 5087 | int flags = LGF_ENABLED; |
| 5088 | |
| 5089 | LGoal_Value(enabled ? VF_SET_FLAGS : VF_CLEAR_FLAGS, LGSV_I_STATUS, &flags, goal_index); |
| 5090 | } |
| 5091 | |
| 5092 | /* |
| 5093 | $$ACTION |
no test coverage detected