mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +00:00
Merge pull request #56 from cocoademon/master
Some small animation fixes
This commit is contained in:
commit
68f45709d8
1 changed files with 3 additions and 3 deletions
|
@ -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]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -209,7 +209,7 @@ Phaser.Animation.FrameData.prototype = {
|
|||
// Does the frames array contain names or indexes?
|
||||
if (useNumericIndex)
|
||||
{
|
||||
output.push(frames[i].index);
|
||||
output.push(frames[i]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue