mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
Remove unnecessary COMPAT_CONST use
This commit is contained in:
parent
2e8ba1b279
commit
798f235946
@ -219,7 +219,7 @@ MxBool ROIHandlerFunction(char* p_input, char* p_output, MxU32 p_copyLen)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1003bbb0
|
||||
LegoState* LegoGameState::GetState(COMPAT_CONST char* p_stateName)
|
||||
LegoState* LegoGameState::GetState(const char* p_stateName)
|
||||
{
|
||||
for (MxS32 i = 0; i < m_stateCount; ++i)
|
||||
if (m_stateArray[i]->IsA(p_stateName))
|
||||
@ -228,7 +228,7 @@ LegoState* LegoGameState::GetState(COMPAT_CONST char* p_stateName)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1003bc00
|
||||
LegoState* LegoGameState::CreateState(COMPAT_CONST char* p_stateName)
|
||||
LegoState* LegoGameState::CreateState(const char* p_stateName)
|
||||
{
|
||||
LegoState* newState = (LegoState*) ObjectFactory()->Create(p_stateName);
|
||||
RegisterState(newState);
|
||||
|
||||
@ -27,8 +27,8 @@ class LegoGameState {
|
||||
__declspec(dllexport) void SerializeScoreHistory(MxS16 p_flags);
|
||||
__declspec(dllexport) void SetSavePath(char*);
|
||||
|
||||
LegoState* GetState(COMPAT_CONST char* p_stateName);
|
||||
LegoState* CreateState(COMPAT_CONST char* p_stateName);
|
||||
LegoState* GetState(const char* p_stateName);
|
||||
LegoState* CreateState(const char* p_stateName);
|
||||
|
||||
void GetFileSavePath(MxString* p_outPath, MxULong p_slotn);
|
||||
void FUN_1003a720(MxU32);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user