From cd4eeb238f7099fa67c09b25720a98576dd933fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=96R=C3=96K=20Attila?= Date: Tue, 20 Aug 2024 21:47:05 +0200 Subject: [PATCH] avm2: Fix GraphicsPath.cubicCurveTo() [API()] version Turns out, the docs were wrong again. --- core/src/avm2/globals/flash/display/GraphicsPath.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/avm2/globals/flash/display/GraphicsPath.as b/core/src/avm2/globals/flash/display/GraphicsPath.as index 9483ec430..ce8f32755 100644 --- a/core/src/avm2/globals/flash/display/GraphicsPath.as +++ b/core/src/avm2/globals/flash/display/GraphicsPath.as @@ -11,7 +11,7 @@ package flash.display { this.winding = winding; } - [API("694")] + [API("674")] // The online docs say 694, but that's a lie. This is the correct number from playerglobal.swc. public function cubicCurveTo(controlX1:Number, controlY1:Number, controlX2:Number, controlY2:Number, anchorX:Number, anchorY:Number):void { if (commands == null) { commands = new Vector.();