summaryrefslogtreecommitdiff
path: root/scene/2d/physics_body_2d.cpp
diff options
context:
space:
mode:
authorArtem Varaksa <aymfst@gmail.com>2018-02-17 16:00:39 +0300
committerArtem Varaksa <aymfst@gmail.com>2018-02-17 16:00:39 +0300
commitd35e48622800f6686dbdfba380e25170005dcc2b (patch)
tree373b6abb4e4a15befea66446841c16ce5541535b /scene/2d/physics_body_2d.cpp
parent3d4bf5a90e9b32c6c93647c7fa08785b22cd5442 (diff)
Clean up some bad words from code comments
Diffstat (limited to 'scene/2d/physics_body_2d.cpp')
-rw-r--r--scene/2d/physics_body_2d.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/2d/physics_body_2d.cpp b/scene/2d/physics_body_2d.cpp
index cc99ce5f49..9908907ee9 100644
--- a/scene/2d/physics_body_2d.cpp
+++ b/scene/2d/physics_body_2d.cpp
@@ -372,9 +372,7 @@ bool RigidBody2D::_test_motion(const Vector2 &p_motion, float p_margin, const Re
void RigidBody2D::_direct_state_changed(Object *p_state) {
-//eh.. fuck
#ifdef DEBUG_ENABLED
-
state = Object::cast_to<Physics2DDirectBodyState>(p_state);
#else
state = (Physics2DDirectBodyState *)p_state; //trust it