Added 3 meters to the bounding radius to ensure infantry gets properly boarded around the carrier unit.

This commit is contained in:
FlightControl 2018-08-26 09:05:48 +02:00
parent 185c27013d
commit dffd66940d

View File

@ -279,7 +279,7 @@ function POSITIONABLE:GetBoundingRadius()
local Z = Box.max.z - Box.min.z
local CX = X / 2
local CZ = Z / 2
return math.max( CX, CZ )
return math.max( CX, CZ ) + 3
end
BASE:E( { "Cannot GetBoundingRadius", Positionable = self, Alive = self:IsAlive() } )