summaryrefslogtreecommitdiff
path: root/servers/physics_2d/step_2d_sw.cpp
diff options
context:
space:
mode:
authorqarmin <mikrutrafal@protonmail.com>2021-09-14 11:01:49 +0200
committerRafaƂ Mikrut <mikrutrafal@protonmail.com>2021-09-15 19:41:32 +0200
commit91257c39000517dd5644caf0e02a7bc6cd4574a9 (patch)
treebda41f7f6f95f48a9e8a4f1df794e48c767eded3 /servers/physics_2d/step_2d_sw.cpp
parent7b21b1bb608909b373237d19467c6236537b8062 (diff)
Initialize variables in servers/physics
Diffstat (limited to 'servers/physics_2d/step_2d_sw.cpp')
-rw-r--r--servers/physics_2d/step_2d_sw.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/servers/physics_2d/step_2d_sw.cpp b/servers/physics_2d/step_2d_sw.cpp
index 0306ec5050..a03e30f850 100644
--- a/servers/physics_2d/step_2d_sw.cpp
+++ b/servers/physics_2d/step_2d_sw.cpp
@@ -296,8 +296,6 @@ void Step2DSW::step(Space2DSW *p_space, real_t p_delta, int p_iterations) {
}
Step2DSW::Step2DSW() {
- _step = 1;
-
body_islands.reserve(BODY_ISLAND_COUNT_RESERVE);
constraint_islands.reserve(ISLAND_COUNT_RESERVE);
all_constraints.reserve(CONSTRAINT_COUNT_RESERVE);