summaryrefslogtreecommitdiff
path: root/scene/resources/world_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/world_2d.h')
-rw-r--r--scene/resources/world_2d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/world_2d.h b/scene/resources/world_2d.h
index d837ef58c2..88b4c2594c 100644
--- a/scene/resources/world_2d.h
+++ b/scene/resources/world_2d.h
@@ -33,7 +33,7 @@
#include "core/project_settings.h"
#include "core/resource.h"
-#include "servers/physics_2d_server.h"
+#include "servers/physics_server_2d.h"
class VisibilityNotifier2D;
class Viewport;
@@ -67,7 +67,7 @@ public:
RID get_canvas();
RID get_space();
- Physics2DDirectSpaceState *get_direct_space_state();
+ PhysicsDirectSpaceState2D *get_direct_space_state();
void get_viewport_list(List<Viewport *> *r_viewports);