mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Vanilla commit:804445830fThis was exiting with 0 damage if _hit=="". It accounts for vehicles not being damaged at all when crashing full speed into walls. It was also causing the player to sometimes glitch out of the vehicle or into the ground when crashing as you noticed before @icomrade. Also fixed driver getting a humanity hit for damaging passengers in crash. Reverting22b2a3asince this is more reliable.