Shorten code

This commit is contained in:
Christian Semmler 2024-05-09 16:12:20 -04:00
parent 8ec5a07922
commit 62dbeaeed6

View File

@ -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;
}
}