From 103a705e241e151f6e4a614a59b2abcd1e34c027 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Fri, 14 Feb 2025 01:47:52 -0500 Subject: [PATCH] Update hxvlc to the latest version --- hmm.json | 2 +- source/funkin/graphics/video/FunkinVideoSprite.hx | 6 ------ source/funkin/play/cutscene/VideoCutscene.hx | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/hmm.json b/hmm.json index 6f6cac700..3a076f50d 100644 --- a/hmm.json +++ b/hmm.json @@ -116,7 +116,7 @@ { "name": "hxvlc", "type": "haxelib", - "version": "1.9.5" + "version": "2.0.1" }, { "name": "json2object", diff --git a/source/funkin/graphics/video/FunkinVideoSprite.hx b/source/funkin/graphics/video/FunkinVideoSprite.hx index 8e5af59e7..6e4eb880a 100644 --- a/source/funkin/graphics/video/FunkinVideoSprite.hx +++ b/source/funkin/graphics/video/FunkinVideoSprite.hx @@ -12,12 +12,6 @@ class FunkinVideoSprite extends FlxVideoSprite public function new(x:Float = 0, y:Float = 0) { super(x, y); - - #if FLX_SOUND_SYSTEM - getCalculatedVolume = function():Float { - return (FlxG.sound.muted ? 0 : 1) * FlxG.sound.logToLinear(FlxG.sound.volume); - } - #end } } #end diff --git a/source/funkin/play/cutscene/VideoCutscene.hx b/source/funkin/play/cutscene/VideoCutscene.hx index a7cdeef09..f785b5d8e 100644 --- a/source/funkin/play/cutscene/VideoCutscene.hx +++ b/source/funkin/play/cutscene/VideoCutscene.hx @@ -144,7 +144,6 @@ class VideoCutscene { vid.zIndex = 0; vid.bitmap.onEndReached.add(finishVideo.bind(0.5)); - vid.autoPause = FlxG.autoPause; vid.cameras = [PlayState.instance.camCutscene];