Skip to content

Commit ccc509a

Browse files
authored
Remove unnecessary quantization on note draw
1 parent ce8e91b commit ccc509a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/funkin/game/Strum.hx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,11 @@ class Strum extends FlxSprite {
164164
if (daNote.strumRelativePos) {
165165
if (shouldX) daNote.x = (this.width - daNote.width) * 0.5;
166166
if (shouldY) {
167-
daNote.y = (daNote.strumTime - Conductor.songPosition) * (0.45 * CoolUtil.quantize(getScrollSpeed(daNote), 100));
167+
daNote.y = (daNote.strumTime - Conductor.songPosition) * (0.45 * getScrollSpeed(daNote));
168168
if (daNote.isSustainNote) daNote.y += height * 0.5;
169169
}
170170
} else {
171-
var offset = FlxPoint.get(0, (Conductor.songPosition - daNote.strumTime) * (0.45 * CoolUtil.quantize(getScrollSpeed(daNote), 100)));
171+
var offset = FlxPoint.get(0, (Conductor.songPosition - daNote.strumTime) * (0.45 * getScrollSpeed(daNote)));
172172
var realOffset = FlxPoint.get(0, 0);
173173

174174
if (daNote.isSustainNote) offset.y -= height * 0.5;

0 commit comments

Comments
 (0)