mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
Fix
This commit is contained in:
parent
adf22cf58e
commit
cf8b2c0e69
@ -288,7 +288,7 @@ void Act3Cop::Animate(float p_time)
|
||||
Act3Brickster* brickster = ((Act3*) m_world)->m_brickster;
|
||||
|
||||
if (brickster != NULL && brickster->GetROI() != NULL && m_roi != NULL) {
|
||||
Mx3DPointFloat local34 = brickster->GetROI()->GetLocal2World()[3];
|
||||
Mx3DPointFloat local34(brickster->GetROI()->GetLocal2World()[3]);
|
||||
local34 -= m_roi->GetLocal2World()[3];
|
||||
|
||||
float distance = local34.LenSquared();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user