Bug fix with um_data length

This commit is contained in:
Troy
2024-03-27 16:12:38 -04:00
parent 58184a5a74
commit 9b8f0ba873

View File

@@ -1733,7 +1733,7 @@ class AudioReactive : public Usermod {
// usermod exchangeable data
// we will assign all usermod exportable data here as pointers to original variables or arrays and allocate memory for pointers
um_data = new um_data_t;
um_data->u_size = 13;
um_data->u_size = 11;
um_data->u_type = new um_types_t[um_data->u_size];
um_data->u_data = new void*[um_data->u_size];
um_data->u_data[0] = &volumeSmth; //*used (New)