summaryrefslogtreecommitdiff
path: root/js/Misc/BOUNCE.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/BOUNCE.js')
-rw-r--r--js/Misc/BOUNCE.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js
index 0aa04885..967e437a 100644
--- a/js/Misc/BOUNCE.js
+++ b/js/Misc/BOUNCE.js
@@ -61,7 +61,7 @@ function BOUNCE() {
this.walls = parseFloat((arguments[0]["walls"]))
this.xt = parseFloat((arguments[0]["xt"]))
this.xd = parseFloat((arguments[0]["xd"]))
- this.y = parseFloat((arguments[0]["y"]))
+ this.y = inverse((arguments[0]["y"]))
this.yd = parseFloat((arguments[0]["yd"]))
this.g = parseFloat((arguments[0]["g"]))
this.C = parseFloat((arguments[0]["C"]))