From 7ef7555c198bed942d15cfc0f15d78b74c321dc0 Mon Sep 17 00:00:00 2001 From: Capostrophic Date: Sat, 30 Mar 2019 01:06:01 +0300 Subject: [PATCH] Ignore extra arguments to PlayLoopSound3D too --- components/compiler/extensions0.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/compiler/extensions0.cpp b/components/compiler/extensions0.cpp index fdb6707480..92b6472887 100644 --- a/components/compiler/extensions0.cpp +++ b/components/compiler/extensions0.cpp @@ -356,7 +356,7 @@ namespace Compiler opcodePlaySound3DExplicit); extensions.registerInstruction ("playsound3dvp", "cff", opcodePlaySound3DVP, opcodePlaySound3DVPExplicit); - extensions.registerInstruction ("playloopsound3d", "c", opcodePlayLoopSound3D, + extensions.registerInstruction ("playloopsound3d", "cXX", opcodePlayLoopSound3D, opcodePlayLoopSound3DExplicit); extensions.registerInstruction ("playloopsound3dvp", "cff", opcodePlayLoopSound3DVP, opcodePlayLoopSound3DVPExplicit);