#RAT - dimensions workaround for Saab 340

This commit is contained in:
Applevangelist 2024-07-12 08:08:32 +02:00
parent 32297da2b0
commit c8d49916df

View File

@ -2135,7 +2135,12 @@ function RAT:_InitAircraft(DCSgroup)
self.aircraft.length=16
self.aircraft.height=5
self.aircraft.width=9
elseif DCStype == "Saab340" then -- <- These lines added
self.aircraft.length=19.73 -- <- These lines added
self.aircraft.height=6.97 -- <- These lines added
self.aircraft.width=21.44 -- <- These lines added
end
self.aircraft.box=math.max(self.aircraft.length,self.aircraft.width)
-- info message