summaryrefslogtreecommitdiff
path: root/servers/physics_2d/physics_server_2d_sw.cpp
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-09-18 10:07:00 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-09-18 10:43:31 +0100
commit41209efa7f790aba5e7cfe6d8d03d1e091f58087 (patch)
tree303a511e69e94d657ec71e0d94addb417a6deb26 /servers/physics_2d/physics_server_2d_sw.cpp
parent6f4384f2063dc892b751eda750e120d72119644a (diff)
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
Diffstat (limited to 'servers/physics_2d/physics_server_2d_sw.cpp')
-rw-r--r--servers/physics_2d/physics_server_2d_sw.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/servers/physics_2d/physics_server_2d_sw.cpp b/servers/physics_2d/physics_server_2d_sw.cpp
index ffdaab0d92..08c8a5f8c5 100644
--- a/servers/physics_2d/physics_server_2d_sw.cpp
+++ b/servers/physics_2d/physics_server_2d_sw.cpp
@@ -1230,8 +1230,6 @@ void PhysicsServer2DSW::step(real_t p_step) {
_update_shapes();
- doing_sync = false;
-
last_step = p_step;
PhysicsDirectBodyState2DSW::singleton->step = p_step;
island_count = 0;