mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Changes
This commit is contained in:
parent
c47983ea31
commit
183accbc8c
@ -28,7 +28,7 @@ class PoliceState : public LegoState {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
undefined4 m_unk0x8; // 0x8
|
undefined4 m_unk0x8; // 0x8
|
||||||
undefined4 m_unk0xc; // 0xc - might be an object id
|
undefined4 m_unk0xc; // 0xc
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // POLICESTATE_H
|
#endif // POLICESTATE_H
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
#include "policestate.h"
|
#include "policestate.h"
|
||||||
|
|
||||||
#include <legoutil.h> // for rand()
|
#include <stdlib.h>
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(PoliceState, 0x10)
|
DECOMP_SIZE_ASSERT(PoliceState, 0x10)
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005e7c0
|
// FUNCTION: LEGO1 0x1005e7c0
|
||||||
PoliceState::PoliceState()
|
PoliceState::PoliceState()
|
||||||
{
|
{
|
||||||
this->m_unk0xc = 0;
|
m_unk0xc = 0;
|
||||||
this->m_unk0x8 = (rand() % 2 == 0) ? 501 : 500;
|
m_unk0x8 = (rand() % 2 == 0) ? 501 : 500;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user