From 28e2c62c22fc643d3505eab0ec06bd881ec986e7 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Tue, 27 Aug 2013 15:42:33 -0500 Subject: [PATCH] should fix no vehicle damage --- SQF/dayz_code/init/veh_resetEH.sqf | 8 ++++---- Server Files/mysql/epoch.sql | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SQF/dayz_code/init/veh_resetEH.sqf b/SQF/dayz_code/init/veh_resetEH.sqf index 0cb07f59a..7eb621592 100644 --- a/SQF/dayz_code/init/veh_resetEH.sqf +++ b/SQF/dayz_code/init/veh_resetEH.sqf @@ -6,14 +6,14 @@ ASSIGN DAMAGE HANDLER TO A UNIT _this removeAllEventHandlers "HandleDamage"; _this removeAllEventHandlers "Killed"; -_this addeventhandler ["HandleDamage",{ _this call fnc_veh_handleDam } ]; -_this addeventhandler ["Killed",{ _this call fnc_veh_handleKilled } ]; +_this addeventhandler ["HandleDamage",{ _this call vehicle_handleDamage } ]; +_this addeventhandler ["Killed",{ _this call vehicle_handleKilled } ]; if (isServer) then { _this removeAllEventHandlers "GetOut"; _this removeAllEventHandlers "GetIn"; - _this addEventHandler ["GetOut", {[(_this select 0),"all",true] call server_updateObject;}]; - _this addEventHandler ["GetIn", {[(_this select 0),"all",true] call server_updateObject;}]; + _this addEventHandler ["GetOut", {[(_this select 0),"all"] call server_updateObject;}]; + _this addEventHandler ["GetIn", {[(_this select 0),"all"] call server_updateObject;}]; }; //diag_log(format["%1: all EH reset for %2", __FILE__, _this]); \ No newline at end of file diff --git a/Server Files/mysql/epoch.sql b/Server Files/mysql/epoch.sql index c53dcb60c..8c11fb980 100644 --- a/Server Files/mysql/epoch.sql +++ b/Server Files/mysql/epoch.sql @@ -1,5 +1,5 @@ /* -DayZ Epoch 1.0.1.9 +DayZ Epoch 1.0.2 */ SET FOREIGN_KEY_CHECKS=0;