From b1c138a22f6c107c9cdfcc2fc3e06f126edd980c Mon Sep 17 00:00:00 2001 From: Misha Date: Mon, 3 Jul 2023 18:38:22 +0300 Subject: [PATCH] fix naming convention --- LEGO1/legogamestate.cpp | 14 +++++++------- LEGO1/legogamestate.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/LEGO1/legogamestate.cpp b/LEGO1/legogamestate.cpp index 29b756d1..344cf1ca 100644 --- a/LEGO1/legogamestate.cpp +++ b/LEGO1/legogamestate.cpp @@ -40,19 +40,19 @@ void LegoGameState::SerializeScoreHistory(MxS16 p) } // OFFSET: LEGO1 0x10039f00 -void LegoGameState::SetSavePath(char *p_SavePath) +void LegoGameState::SetSavePath(char *p_savePath) { - if (m_SavePath != NULL) + if (m_savePath != NULL) { - delete[] m_SavePath; + delete[] m_savePath; } - if (p_SavePath) + if (p_savePath) { - m_SavePath = new char[strlen(p_SavePath) + 1]; - strcpy(m_SavePath, p_SavePath); + m_savePath = new char[strlen(p_savePath) + 1]; + strcpy(m_savePath, p_savePath); } else { - m_SavePath = NULL; + m_savePath = NULL; } } diff --git a/LEGO1/legogamestate.h b/LEGO1/legogamestate.h index b8f74132..ef2eeb1e 100644 --- a/LEGO1/legogamestate.h +++ b/LEGO1/legogamestate.h @@ -15,7 +15,7 @@ class LegoGameState __declspec(dllexport) void SetSavePath(char *p); private: - char *m_SavePath; + char *m_savePath; }; #endif // LEGOGAMESTATE_H