mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Clear unknowns in LegoAnimScene
(#1649)
This commit is contained in:
@@ -337,7 +337,7 @@ void LegoRaceCar::KickCamera(float p_param)
|
||||
transformationMatrix.SetIdentity();
|
||||
|
||||
// Possible bug in the original code: The first argument is not initialized
|
||||
a->GetAnimTreePtr()->GetCamAnim()->FUN_1009f490(deltaTime, transformationMatrix);
|
||||
a->GetAnimTreePtr()->GetCamAnim()->CalculateCameraTransform(deltaTime, transformationMatrix);
|
||||
|
||||
if (r->GetCameraController()) {
|
||||
r->GetCameraController()->TransformPointOfView(transformationMatrix, 0);
|
||||
|
@@ -938,7 +938,7 @@ void LegoAnimPresenter::FUN_1006b9a0(LegoAnim* p_anim, MxLong p_time, Matrix4* p
|
||||
|
||||
if (p_anim->GetCamAnim() != NULL) {
|
||||
MxMatrix transform(mat);
|
||||
p_anim->GetCamAnim()->FUN_1009f490(p_time, transform);
|
||||
p_anim->GetCamAnim()->CalculateCameraTransform(p_time, transform);
|
||||
|
||||
if (m_currentWorld != NULL && m_currentWorld->GetCameraController() != NULL) {
|
||||
m_currentWorld->GetCameraController()->TransformPointOfView(transform, FALSE);
|
||||
|
Reference in New Issue
Block a user