Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

fix `character_body_2d.cpp` compilation with `deprecated=no`

LanzaSchneider222a95ab46b1
diff --git a/scene/2d/physics/character_body_2d.cpp b/scene/2d/physics/character_body_2d.cpp
index f99c3f3b225..06cee87d8d7 100644
--- a/scene/2d/physics/character_body_2d.cpp
+++ b/scene/2d/physics/character_body_2d.cpp
@@ -33,6 +33,7 @@
#include "core/config/engine.h"
#include "core/object/class_db.h"
#include "servers/physics_2d/direct_states/physics_direct_body_state_2d.h"
+#include "servers/physics_2d/physics_server_2d.h"
#ifndef DISABLE_DEPRECATED
#include "servers/physics_2d/physics_server_2d_extension.h"