mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 00:31:16 +00:00
Shorten code
This commit is contained in:
parent
8ec5a07922
commit
62dbeaeed6
@ -1455,9 +1455,7 @@ MxBool LegoAnimationManager::FUN_10062650(Vector3& p_position, float p_und, Lego
|
||||
}
|
||||
|
||||
len = sqrt(len);
|
||||
float radius = p_roi->GetWorldBoundingSphere().Radius();
|
||||
|
||||
if (radius + p_und >= len) {
|
||||
if (p_roi->GetWorldBoundingSphere().Radius() + p_und >= len) {
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user