Skip to content

Commit 7c9db8f

Browse files
committed
jshint fixes.
1 parent 5c69328 commit 7c9db8f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/animation/Animation.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ Phaser.Animation.prototype = {
381381
// And what's left now?
382382
this._timeNextFrame = this.game.time.time + (this.delay - this._frameDiff);
383383

384-
var fi = this._frameIndex;
385384
this._frameIndex += this._frameSkip;
386385

387386
if (this._frameIndex >= this._frames.length)
@@ -437,7 +436,7 @@ Phaser.Animation.prototype = {
437436
{
438437
this.currentFrame = this._frameData.getFrame(this._frames[this._frameIndex]);
439438

440-
if (this.currentFrame && idx !== this.currentFrame.index)
439+
if (this.currentFrame)
441440
{
442441
this._parent.setFrame(this.currentFrame);
443442
}

0 commit comments

Comments
 (0)