From dde4ef951ca946bcecb5c9c811c481cf3362b1e9 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, 4 insertions(+), 1 deletion(-) diff --git a/Vocaluxe/Base/CGame.cs b/Vocaluxe/Base/CGame.cs index 5433aa59..356c9192 100644 --- a/Vocaluxe/Base/CGame.cs +++ b/Vocaluxe/Base/CGame.cs @@ -211,7 +211,7 @@ namespace Vocaluxe.Base public static void UpdatePoints(float time) { bool DEBUG_HIT = false; - + CSong song = _SongQueue.GetSong(); if (song == null) @@ -284,6 +284,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));