From cc1bc0e368690800c47b580b09ddabecbfa912e6 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Wed, 23 Oct 2013 00:55:39 -0500 Subject: [PATCH] 1.0.2.41 DEV BUILD --- SQF/dayz_code/actions/player_reloadMags.sqf | 5 +++++ SQF/dayz_code/config.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/player_reloadMags.sqf b/SQF/dayz_code/actions/player_reloadMags.sqf index 43d9eec7b..591e64c2b 100644 --- a/SQF/dayz_code/actions/player_reloadMags.sqf +++ b/SQF/dayz_code/actions/player_reloadMags.sqf @@ -91,6 +91,11 @@ _qtynew_create_mags_full = floor(_qtynew_create_ammo/_create_magsize); _qtynew_consume_ammo_rest = _qtynew_consume_ammo - (_qtynew_consume_mags_full*_consume_magsize); _qtynew_create_ammo_rest = _qtynew_create_ammo - (_qtynew_create_mags_full*_create_magsize); + +// abort if no complete mags or partial mag is less than 15% full +//if((_create_magsize*0.85)) exitWith {}; + + //remove all _consume and _create mags (we already have total ammo count) player removeMagazines _consume; player removeMagazines _create; diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index 56a30ce4b..4da1a2417 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -41,7 +41,7 @@ class CfgMods hidePicture = 0; hideName = 0; action = "http://www.dayzepoch.com"; - version = "1.0.2.4"; + version = "1.0.2.41"; hiveVersion = 0.96; //0.93 }; };