18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-18 22:16:02 +01:00

fix: initialize the gauge's parameter type for CI

The gauge copies made for the duplicate submodels start from a default
gauge, whose parameter type was left uninitialized (Sonar S836).
This commit is contained in:
jerrrrycho
2026-11-08 04:08:15 +01:00
parent d259251373
commit c99a07ddd7

View File

@@ -105,7 +105,7 @@ private:
float m_endscale { -1.f }; // scale applied to the value at the end of accepted value range
float m_endvalue { -1.f }; // end value of accepted value range
bool m_interpolatescale { false };
char m_datatype; // typ zmiennej parametru: f-float, d-double, i-int
char m_datatype { '\0' }; // typ zmiennej parametru: f-float, d-double, i-int, b-bool; none until one is assigned
union {
// wskaźnik na parametr pokazywany przez animację
float *fData;