mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
Fast vehicles have to be going faster than target vehicles now
I ideally didn't want to do this, to make it more realistic, but the fast box was just being spammed too much.
This commit is contained in:
@@ -612,7 +612,7 @@ function RADAR:GetVehiclesForAntenna()
|
||||
table.sort( vehs[ant], self:GetFastestSortFunc() )
|
||||
|
||||
for k, v in pairs( vehs[ant] ) do
|
||||
if ( self:CheckVehicleDataFitsMode( ant, v.rayType ) and v.veh ~= results[ant][1].veh and v.size + 0.75 < results[ant][1].size ) then
|
||||
if ( self:CheckVehicleDataFitsMode( ant, v.rayType ) and v.veh ~= results[ant][1].veh and v.size < results[ant][1].size and v.speed > results[ant][1].speed ) then
|
||||
results[ant][2] = v
|
||||
break
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user