$$ACTION Misc [e:Enable/Disable] matcen [m:Matcen] aMatcenSetEnableState Enable/disable matcen Enable or disable a matcen, so it's capable of producing Parameters: Enable/Disable: whether the matcen is cabable of producing Matcen: the matcen to enable or disable $$END */
| 3122 | $$END |
| 3123 | */ |
| 3124 | void aMatcenSetEnableState(int state, int matcen_id) { |
| 3125 | int flags = MSTAT_DISABLED; |
| 3126 | |
| 3127 | if (matcen_id >= 0) |
| 3128 | Matcen_Value(matcen_id, state ? VF_CLEAR_FLAGS : VF_SET_FLAGS, MTNV_I_STATUS, &flags); |
| 3129 | } |
| 3130 | |
| 3131 | /* |
| 3132 | $$ACTION |
no test coverage detected