From 0389cd676082ca9d6c6aa4082d32c2a77a73fd16 Mon Sep 17 00:00:00 2001 From: EliteMasterEric Date: Mon, 23 Sep 2024 14:45:12 -0400 Subject: [PATCH] Fix a compile issue on HTML5 with video sprites --- art | 2 +- source/funkin/graphics/video/FunkinVideoSprite.hx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/art b/art index bfca2ea98..1f64f3e74 160000 --- a/art +++ b/art @@ -1 +1 @@ -Subproject commit bfca2ea98d11a0f4dee4a27b9390951fbc5701ea +Subproject commit 1f64f3e7403a090b164f4442d10152b2be5d3d0a diff --git a/source/funkin/graphics/video/FunkinVideoSprite.hx b/source/funkin/graphics/video/FunkinVideoSprite.hx index e0086784b..2b7f42c03 100644 --- a/source/funkin/graphics/video/FunkinVideoSprite.hx +++ b/source/funkin/graphics/video/FunkinVideoSprite.hx @@ -1,5 +1,6 @@ package funkin.graphics.video; +#if hxcodec import hxcodec.flixel.FlxVideoSprite; /** @@ -30,3 +31,4 @@ class FunkinVideoSprite extends FlxVideoSprite return volume; } } +#end