mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Remove static storage specifier so vars can be found through datacmp (#1171)
This commit is contained in:

committed by
GitHub

parent
83b85f26a7
commit
bd011c6724
@@ -12,7 +12,7 @@ DECOMP_SIZE_ASSERT(LegoJetskiRaceActor, 0x1a8)
|
||||
|
||||
// GLOBAL: LEGO1 0x100da044
|
||||
// GLOBAL: BETA10 0x101be9fc
|
||||
const MxFloat g_eight = 8.0f;
|
||||
MxFloat g_unk0x100da044 = 8.0f;
|
||||
|
||||
// FUNCTION: LEGO1 0x10080ef0
|
||||
// FUNCTION: BETA10 0x100a8990
|
||||
@@ -60,8 +60,8 @@ MxS32 LegoJetskiRaceActor::VTable0x1c(LegoPathBoundary* p_boundary, LegoEdge* p_
|
||||
if (p_edge == LegoPathController::GetControlEdgeA(12)) {
|
||||
m_state = 1;
|
||||
|
||||
if (m_worldSpeed < g_eight) {
|
||||
m_worldSpeed = g_eight;
|
||||
if (m_worldSpeed < g_unk0x100da044) {
|
||||
m_worldSpeed = g_unk0x100da044;
|
||||
}
|
||||
|
||||
m_destEdge = LegoPathController::GetControlEdgeA(13);
|
||||
@@ -70,8 +70,8 @@ MxS32 LegoJetskiRaceActor::VTable0x1c(LegoPathBoundary* p_boundary, LegoEdge* p_
|
||||
else if (p_edge == LegoPathController::GetControlEdgeA(14)) {
|
||||
m_state = 1;
|
||||
|
||||
if (m_worldSpeed < g_eight) {
|
||||
m_worldSpeed = g_eight;
|
||||
if (m_worldSpeed < g_unk0x100da044) {
|
||||
m_worldSpeed = g_unk0x100da044;
|
||||
}
|
||||
|
||||
m_destEdge = LegoPathController::GetControlEdgeA(15);
|
||||
|
Reference in New Issue
Block a user