mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
match LegoGameState::RegisterState() (#729)
This commit is contained in:
@@ -1064,9 +1064,7 @@ void LegoGameState::RegisterState(LegoState* p_state)
|
||||
return;
|
||||
}
|
||||
|
||||
if (m_stateArray[targetIndex]) {
|
||||
delete m_stateArray[targetIndex];
|
||||
}
|
||||
m_stateArray[targetIndex] = p_state;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user