helpers: refactor class member vars (#10218)

This commit is contained in:
davc0n 2025-04-30 23:45:20 +02:00 committed by GitHub
parent b8a204c21d
commit 50e1bec85f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
63 changed files with 1770 additions and 1769 deletions

View file

@ -15,8 +15,8 @@ class CDamageRing {
bool hasChanged();
private:
Vector2D size;
CRegion current;
std::array<CRegion, DAMAGE_RING_PREVIOUS_LEN> previous;
size_t previousIdx = 0;
Vector2D m_size;
CRegion m_current;
std::array<CRegion, DAMAGE_RING_PREVIOUS_LEN> m_previous;
size_t m_previousIdx = 0;
};