summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-03-28 12:57:13 +0100
committerGitHub <noreply@github.com>2020-03-28 12:57:13 +0100
commitbbbdabc771662d0effb739237967982cd201ea89 (patch)
tree3bd24159fcd06e7ea6c6ae3ed02864b0d3e24edf /scene/2d
parentfcfffd729789cd80aa77056ca089697b52297d04 (diff)
parent06e8740184eb056df7ca67c75b828435d0f004fe (diff)
Merge pull request #37372 from dankan1890/quick_fix
Fixed probable typo in renaming.
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/physics_body_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/physics_body_2d.cpp b/scene/2d/physics_body_2d.cpp
index 289860d9c6..fe91e63792 100644
--- a/scene/2d/physics_body_2d.cpp
+++ b/scene/2d/physics_body_2d.cpp
@@ -373,7 +373,7 @@ void RigidBody2D::_direct_state_changed(Object *p_state) {
#ifdef DEBUG_ENABLED
state = Object::cast_to<PhysicsDirectBodyState2D>(p_state);
#else
- state = (Physics2DDirectBodyState *)p_state; //trust it
+ state = (PhysicsDirectBodyState2D *)p_state; //trust it
#endif
set_block_transform_notify(true); // don't want notify (would feedback loop)