From a75ef8ee51668d62fdff97841fe6925fc13d6690 Mon Sep 17 00:00:00 2001 From: juanjp600 Date: Sun, 8 Jan 2017 12:45:44 -0300 Subject: [PATCH] Optimized MaxVal 0x200 represents a bit that isn't used for any flags, 0x1FF represents all usable bits --- Subsurface/Source/Characters/Character.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Subsurface/Source/Characters/Character.cs b/Subsurface/Source/Characters/Character.cs index 704729e4e..83f90ba97 100644 --- a/Subsurface/Source/Characters/Character.cs +++ b/Subsurface/Source/Characters/Character.cs @@ -41,7 +41,7 @@ namespace Barotrauma Aim = 0x100, //Attack = 0x200 - MaxVal = 0x200 + MaxVal = 0x1FF } private InputNetFlags dequeuedInput = 0; private InputNetFlags prevDequeuedInput = 0;