diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-12-06 18:12:40 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-06 18:50:10 -0300 |
commit | da2452f3bdcf5eff1bf1773a17b27a4deb8b8bad (patch) | |
tree | 338239c81e5a2ad1d1165528a64e19906ca3d8a9 /src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua | |
parent | 1e02fcb40d10b4f82fd726b01b4ffbffaf7c5463 (diff) |
Keep the code more KISS - part 8
Diffstat (limited to 'src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua')
-rw-r--r-- | src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua index 8667ff6..ff5293d 100644 --- a/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua +++ b/src/gnu_and_bola_-_the_libre_beat_em_up_game/scripts/game/animation.lua @@ -1,7 +1,8 @@ game.animation = function(character, dt) character.elapsedTime = character.elapsedTime + dt if character.elapsedTime > (1 / character.fps) then ---[[ if character.loop > 0 then +--[[ + if character.loop > 0 then if loopCounter == nil then character.currentFrame = 1 loopCounter = 1 |