aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/physics_body_2d.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2018-02-17 16:19:50 +0100
committerGitHub2018-02-17 16:19:50 +0100
commitd05d4c2bddff05967c8d59137e5c13b576f7cb51 (patch)
tree373b6abb4e4a15befea66446841c16ce5541535b /scene/2d/physics_body_2d.cpp
parent3d4bf5a90e9b32c6c93647c7fa08785b22cd5442 (diff)
parentd35e48622800f6686dbdfba380e25170005dcc2b (diff)
downloadgodot-d05d4c2bddff05967c8d59137e5c13b576f7cb51.tar.gz
godot-d05d4c2bddff05967c8d59137e5c13b576f7cb51.tar.zst
godot-d05d4c2bddff05967c8d59137e5c13b576f7cb51.zip
Merge pull request #16776 from sudoio/remove-bad-words
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 cc99ce5f4..9908907ee 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