mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
Add missing constants
This commit is contained in:
parent
dd30012d80
commit
16d64991ed
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue