mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Introduce clang-format (#240)
This commit is contained in:
committed by
GitHub
parent
e928fc9425
commit
b449da1fa3
@@ -8,16 +8,16 @@ DECOMP_SIZE_ASSERT(RaceStateEntry, 0x06)
|
||||
// OFFSET: LEGO1 0x10015f30 STUB
|
||||
RaceState::RaceState()
|
||||
{
|
||||
// TODO
|
||||
// TODO
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10016280
|
||||
RaceStateEntry *RaceState::GetState(MxU8 id)
|
||||
RaceStateEntry* RaceState::GetState(MxU8 id)
|
||||
{
|
||||
for (MxS16 i = 0;; i++) {
|
||||
if (i >= 5)
|
||||
return NULL;
|
||||
if (m_state[i].m_id == id)
|
||||
return m_state + i;
|
||||
}
|
||||
for (MxS16 i = 0;; i++) {
|
||||
if (i >= 5)
|
||||
return NULL;
|
||||
if (m_state[i].m_id == id)
|
||||
return m_state + i;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user