From 37f484968157a764f161e144e4de7e4c7bf2ab1c Mon Sep 17 00:00:00 2001 From: Kevin nX_ J Date: Tue, 6 Dec 2022 17:19:46 +0100 Subject: [PATCH] Update Character.cs Removal of old code comments --- ValheimPlus/GameClasses/Character.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/ValheimPlus/GameClasses/Character.cs b/ValheimPlus/GameClasses/Character.cs index 116b72b1..e5b640a7 100644 --- a/ValheimPlus/GameClasses/Character.cs +++ b/ValheimPlus/GameClasses/Character.cs @@ -119,9 +119,6 @@ public static IEnumerable Transpiler(IEnumerable 4f); if so, it calculates the fall damage as Mathf.Clamp01((num - 4f) / 16f) * 100f - // ... where num is the fall distance. - // We want to remove this calculation and replace it with our own, so we replace the calculation with a call to our own method, defined below this one. for (int i = 0; i < il.Count; i++) { if (!found && il[i].opcode != OpCodes.Newobj)