This commit is contained in:
Christian Semmler 2024-01-20 09:07:51 -05:00
parent c47983ea31
commit 183accbc8c
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ class PoliceState : public LegoState {
private:
undefined4 m_unk0x8; // 0x8
undefined4 m_unk0xc; // 0xc - might be an object id
undefined4 m_unk0xc; // 0xc
};
#endif // POLICESTATE_H

View File

@ -1,12 +1,12 @@
#include "policestate.h"
#include <legoutil.h> // for rand()
#include <stdlib.h>
DECOMP_SIZE_ASSERT(PoliceState, 0x10)
// FUNCTION: LEGO1 0x1005e7c0
PoliceState::PoliceState()
{
this->m_unk0xc = 0;
this->m_unk0x8 = (rand() % 2 == 0) ? 501 : 500;
m_unk0xc = 0;
m_unk0x8 = (rand() % 2 == 0) ? 501 : 500;
}