From c1232d462d8390d3afb697dad7094d778f40c2d2 Mon Sep 17 00:00:00 2001 From: Colin McMillen Date: Sun, 2 Feb 2020 10:23:47 -0500 Subject: [PATCH] make swordSwingMax const GitOrigin-RevId: 911bff5fb60d0442edbe1e4ff9c005558a258175 --- Shared/Player.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Player.cs b/Shared/Player.cs index 1ce9b1d..2675865 100644 --- a/Shared/Player.cs +++ b/Shared/Player.cs @@ -39,7 +39,7 @@ namespace SemiColinGames { private Pose pose = Pose.Jumping; private double swordSwingTime = 0; private int swordSwingNum = 0; - private int swordSwingMax = 6; + private const int swordSwingMax = 6; private float ySpeed = 0; public Player(Texture2D texture) {