summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <nthirtyone@gmail.com>2017-03-20 18:20:49 +0100
committerAki <nthirtyone@gmail.com>2017-03-20 18:20:49 +0100
commitfcc6dc19b495fbf21a803f10f7c4cec41d4f8a49 (patch)
tree5630d742027f4db55cf747c64d963789b138ff65
parent94f84647255e6d18f1e20ac0a1b8c8c9860b918e (diff)
downloadroflnauts-fcc6dc19b495fbf21a803f10f7c4cec41d4f8a49.zip
roflnauts-fcc6dc19b495fbf21a803f10f7c4cec41d4f8a49.tar.gz
roflnauts-fcc6dc19b495fbf21a803f10f7c4cec41d4f8a49.tar.bz2
Hero.nextFrame -> Hero.goToNextFrame
-rw-r--r--not/Hero.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/not/Hero.lua b/not/Hero.lua
index 7be3104..c9250e0 100644
--- a/not/Hero.lua
+++ b/not/Hero.lua
@@ -337,7 +337,7 @@ end
-- Change animation of `Hero`
-- default, walk, attack, attack_up, attack_down, damage
-function Hero:nextFrame ()
+function Hero:goToNextFrame ()
local isDown = Controller.isDown
local controlset = self:getControlSet()
if self.current.repeated or not (self.frame == self.current.frames) then