From 61b9e119cbc202b4a8433fb97a5f23a81df9ccec Mon Sep 17 00:00:00 2001 From: Cameron Foale Date: Fri, 20 Sep 2013 17:48:38 +1000 Subject: [PATCH] Incorrect input array in FrameData.getFrames --- src/animation/FrameData.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/animation/FrameData.js b/src/animation/FrameData.js index 25046635..b4f5d407 100644 --- a/src/animation/FrameData.js +++ b/src/animation/FrameData.js @@ -164,12 +164,12 @@ Phaser.Animation.FrameData.prototype = { if (useNumericIndex) { // The actual frame - output.push(this.getFrame(input[i])); + output.push(this.getFrame(frames[i])); } else { // The actual frame - output.push(this.getFrameByName(input[i])); + output.push(this.getFrameByName(frames[i])); } } }