summaryrefslogtreecommitdiff
path: root/player.fnl
diff options
context:
space:
mode:
authorJakob L. Kreuze <jakob@memeware.net>2018-10-26 14:13:54 -0400
committerJakob L. Kreuze <jakob@memeware.net>2018-10-26 14:13:54 -0400
commita610d4f3c513107135ece5276afffa4223c7ee4b (patch)
tree5bf84c3afe6608f3b3582240587a29f86b9d7c3e /player.fnl
parent558d16e8b2577f9c698a75b833dfc08af4133db9 (diff)
Rest of greetz and maps. Game is essentially complete
Diffstat (limited to 'player.fnl')
-rw-r--r--player.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.fnl b/player.fnl
index d9e8475..f86ed62 100644
--- a/player.fnl
+++ b/player.fnl
@@ -75,7 +75,7 @@
(fn bounce [player x-normal y-normal]
(tset player :x-vel (- (* 8 x-normal) (. player :x-vel)))
- (tset player :y-vel (- (math.abs (* 8 y-normal)) (. player :y-vel))))
+ (tset player :y-vel (- (. player :y-vel) (math.abs (* 8 y-normal)))))
(fn face-upwards [player]
(tset player :action :sliming-up true))