mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Build fixes for mingw (#245)
This commit is contained in:

committed by
GitHub

parent
4c5c709af6
commit
e928fc9425
@@ -192,7 +192,7 @@ void LegoGameState::SetSavePath(char *p_savePath)
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1003bbb0
|
||||
LegoState *LegoGameState::GetState(char *p_stateName)
|
||||
LegoState *LegoGameState::GetState(COMPAT_CONST char *p_stateName)
|
||||
{
|
||||
for (MxS32 i = 0; i < m_stateCount; ++i)
|
||||
if (m_stateArray[i]->IsA(p_stateName))
|
||||
@@ -201,11 +201,11 @@ LegoState *LegoGameState::GetState(char *p_stateName)
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1003bc00
|
||||
LegoState *LegoGameState::CreateState(char *p_stateName)
|
||||
LegoState *LegoGameState::CreateState(COMPAT_CONST char *p_stateName)
|
||||
{
|
||||
LegoState* newState = (LegoState*)ObjectFactory()->Create(p_stateName);
|
||||
RegisterState(newState);
|
||||
|
||||
|
||||
return newState;
|
||||
}
|
||||
|
||||
@@ -245,4 +245,4 @@ void LegoGameState::FUN_1003a720(MxU32 p_unk)
|
||||
void LegoGameState::HandleAction(MxU32 p_unk)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user