From 944f2bf266db79349564ada1343ecd961e19142e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 16 Feb 2017 19:29:07 +0100 Subject: [PATCH] - fixed armor save percentage values in Dehacked. --- src/d_dehacked.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_dehacked.cpp b/src/d_dehacked.cpp index 9cfd74520..7e2b22e27 100644 --- a/src/d_dehacked.cpp +++ b/src/d_dehacked.cpp @@ -1942,13 +1942,13 @@ static int PatchMisc (int dummy) if (armor!=NULL) { armor->IntVar(NAME_SaveAmount) = 100 * deh.GreenAC; - armor->FloatVar(NAME_SavePercent) = deh.GreenAC == 1 ? 0.33335 : 0.5; + armor->FloatVar(NAME_SavePercent) = deh.GreenAC == 1 ? 33.335 : 50; } armor = GetDefaultByName ("BlueArmor"); if (armor!=NULL) { armor->IntVar(NAME_SaveAmount) = 100 * deh.BlueAC; - armor->FloatVar(NAME_SavePercent) = deh.BlueAC == 1 ? 0.33335 : 0.5; + armor->FloatVar(NAME_SavePercent) = deh.BlueAC == 1 ? 33.335 : 50; } auto barmor = GetDefaultByName ("ArmorBonus");