mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 14:51:15 +00:00
fix naming convention
This commit is contained in:
parent
60ff012dfb
commit
b1c138a22f
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@ class LegoGameState
|
||||
__declspec(dllexport) void SetSavePath(char *p);
|
||||
|
||||
private:
|
||||
char *m_SavePath;
|
||||
char *m_savePath;
|
||||
};
|
||||
|
||||
#endif // LEGOGAMESTATE_H
|
||||
|
||||
Loading…
Reference in New Issue
Block a user