Add missing constants

This commit is contained in:
MaybeMaru
2024-06-27 03:56:41 -04:00
committed by EliteMasterEric
parent dd30012d80
commit 16d64991ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class Strumline extends FlxSpriteGroup
static function get_RENDER_DISTANCE_MS():Float
{
return FlxG.height / 0.45;
return FlxG.height / Constants.PIXELS_PER_MS;
}
/**
+1 -1
View File
@@ -160,7 +160,7 @@ class SustainTrail extends FlxSprite
*/
public static inline function sustainHeight(susLength:Float, scroll:Float)
{
return (susLength * 0.45 * scroll);
return (susLength * Constants.PIXELS_PER_MS * scroll);
}
function set_sustainLength(s:Float):Float