From 06e8740184eb056df7ca67c75b828435d0f004fe Mon Sep 17 00:00:00 2001 From: dankan1890 Date: Sat, 28 Mar 2020 01:50:00 +0100 Subject: Fixed missed occurrences in #37361 renamings. --- scene/2d/physics_body_2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/2d') 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(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) -- cgit v1.2.3