mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-26 17:51:16 +00:00
minor 10010510 improvement
This commit is contained in:
parent
114b31a76d
commit
397677a067
@ -147,13 +147,13 @@ void SkateBoard::FUN_10010510()
|
|||||||
PlayMusic(JukeboxScript::c_BeachBlvd_Music);
|
PlayMusic(JukeboxScript::c_BeachBlvd_Music);
|
||||||
if (m_act1state->m_unk0x022 == '\0') {
|
if (m_act1state->m_unk0x022 == '\0') {
|
||||||
m_act1state->m_unk0x022 = 1;
|
m_act1state->m_unk0x022 = 1;
|
||||||
MxMatrix x = MxMatrix(CurrentActor()->GetROI()->GetLocal2World());
|
MxMatrix matrix = MxMatrix(CurrentActor()->GetROI()->GetLocal2World());
|
||||||
float xs = x[2][0] * 2.5;
|
float x = 2.5 * matrix[2][0];
|
||||||
float y = x[2][1] + 0.2;
|
float z = 2.5 * matrix[2][2];
|
||||||
float z = x[2][2] * 2.5;
|
float y = 0.2 + matrix[2][1];
|
||||||
x.TranslateBy(&xs, &y, &z);
|
matrix.TranslateBy(&x, &y, &z);
|
||||||
AnimationManager()
|
AnimationManager()
|
||||||
->FUN_10060dc0(IsleScript::c_sns008in_RunAnim, &x, '\x01', '\0', NULL, 0, TRUE, TRUE, '\x01');
|
->FUN_10060dc0(IsleScript::c_sns008in_RunAnim, &matrix, '\x01', '\0', NULL, 0, TRUE, TRUE, '\x01');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user