From 2548c3a1f91a6b5bbeb6c12dfc6938f47bdb1572 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Sun, 22 Dec 2013 17:53:51 +0100 Subject: [PATCH] Added DEBUG_HIT option again. --- Vocaluxe/Base/CGame.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Vocaluxe/Base/CGame.cs b/Vocaluxe/Base/CGame.cs index 6eb98838..8b51160c 100644 --- a/Vocaluxe/Base/CGame.cs +++ b/Vocaluxe/Base/CGame.cs @@ -210,6 +210,8 @@ namespace Vocaluxe.Base public static void UpdatePoints(float time) { + bool DEBUG_HIT = false; + CSong song = _SongQueue.GetSong(); if (song == null) @@ -281,6 +283,9 @@ namespace Vocaluxe.Base while (tonePlayer - tone < -6) tonePlayer += 12; + if (DEBUG_HIT) + tonePlayer = tone; + Players[p].NoteDiff = Math.Abs(tone - tonePlayer); bool hit = Players[p].NoteDiff <= (2 - (int)CProfiles.GetDifficulty(Players[p].ProfileID));