Fix AddPointToBounds not properly setting the max bounds

This commit is contained in:
smallmodel 2024-10-23 20:03:00 +02:00
parent de1d3b6ef4
commit 848cf7ac01
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -343,7 +343,7 @@ void AddToBounds(SkelVec3 *bounds, SkelVec3 *newBounds)
bounds[0][i] = newBounds[0][i];
}
if (bounds[1][i] > newBounds[1][i]) {
if (bounds[1][i] < newBounds[1][i]) {
bounds[1][i] = newBounds[1][i];
}
}