Added DEBUG_HIT option again.
This commit is contained in:
1 parent
eb54ccf5a8
commit
dde4ef951c
1 file changed
+3
@@ -284,6 +284,9 @@ namespace Vocaluxe.Base
|
|||||||
while (tonePlayer - tone < -6)
|
while (tonePlayer - tone < -6)
|
||||||
tonePlayer += 12;
|
tonePlayer += 12;
|
||||||
|
|
||||||
|
if (DEBUG_HIT)
|
||||||
|
tonePlayer = tone;
|
||||||
|
|
||||||
Players[p].NoteDiff = Math.Abs(tone - tonePlayer);
|
Players[p].NoteDiff = Math.Abs(tone - tonePlayer);
|
||||||
bool hit = Players[p].NoteDiff <= (2 - (int)CProfiles.GetDifficulty(Players[p].ProfileID));
|
bool hit = Players[p].NoteDiff <= (2 - (int)CProfiles.GetDifficulty(Players[p].ProfileID));
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user