summaryrefslogtreecommitdiff
path: root/heyllama.scm
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-09-19 23:40:55 +0200
committerThomas White <taw@physics.org>2020-09-19 23:40:55 +0200
commit7e962159a957a5f1893806ae8b73f13566fb8954 (patch)
tree7ad8a21ddd0e28cb8d3c120da80207cee4138c5b /heyllama.scm
parent6834e0e46ac5516c7883d22261728d4651d2f554 (diff)
Fix animation direction
Diffstat (limited to 'heyllama.scm')
-rw-r--r--heyllama.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/heyllama.scm b/heyllama.scm
index d1e3be3..dbe8833 100644
--- a/heyllama.scm
+++ b/heyllama.scm
@@ -141,7 +141,7 @@
(vec2-add! (get-pos llama) #v((* tstep 0.2) 0))
(set-animation-step! llama
(floor-remainder
- (+ (get-animation-step llama) 1)
+ (+ (get-animation-step llama) -1)
16)))
(when (key-pressed? 'left)