summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorNicolas Laurito <Zamaroht@users.noreply.github.com>2015-05-09 19:09:30 -0300
committerNicolas Laurito <Zamaroht@users.noreply.github.com>2015-05-09 19:09:30 -0300
commit8f4b6ff870d8e608ff056fee8c7043716bdd48d8 (patch)
tree979b0c757c787c9927eddc134cb4e970e7bbda7d /demos
parente090c06ae27f737239ae7cf6f8c56747b47506bd (diff)
Deleted unused variable
Deleted the var GRAVITY because it is unused. The gravity is used at line 237, but it's gotten from the Physics2DDirectBodyState parameter.
Diffstat (limited to 'demos')
-rw-r--r--demos/2d/platformer/player.gd1
1 files changed, 0 insertions, 1 deletions
diff --git a/demos/2d/platformer/player.gd b/demos/2d/platformer/player.gd
index b08105212c..9ee189df21 100644
--- a/demos/2d/platformer/player.gd
+++ b/demos/2d/platformer/player.gd
@@ -33,7 +33,6 @@ var shooting=false
var WALK_ACCEL = 800.0
var WALK_DEACCEL= 800.0
var WALK_MAX_VELOCITY= 200.0
-var GRAVITY = 700.0
var AIR_ACCEL = 200.0
var AIR_DEACCEL= 200.0
var JUMP_VELOCITY=460