You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
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.
This commit is contained in:
@@ -33,7 +33,6 @@ var shooting=false
|
|||||||
var WALK_ACCEL = 800.0
|
var WALK_ACCEL = 800.0
|
||||||
var WALK_DEACCEL= 800.0
|
var WALK_DEACCEL= 800.0
|
||||||
var WALK_MAX_VELOCITY= 200.0
|
var WALK_MAX_VELOCITY= 200.0
|
||||||
var GRAVITY = 700.0
|
|
||||||
var AIR_ACCEL = 200.0
|
var AIR_ACCEL = 200.0
|
||||||
var AIR_DEACCEL= 200.0
|
var AIR_DEACCEL= 200.0
|
||||||
var JUMP_VELOCITY=460
|
var JUMP_VELOCITY=460
|
||||||
|
|||||||
Reference in New Issue
Block a user