summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-31 08:10:58 +0200
committerGitHub <noreply@github.com>2019-07-31 08:10:58 +0200
commit0636e664ff310671755d0693f70a776ca34365fe (patch)
tree2b1cc12c9734f3308a1e552e745ff86652184a3c /servers
parent51b2d8668504d2a99fd3c5bfe4e6f68c7198dfc8 (diff)
parent4e617d2ca29b4efce7f8360dfedce627b0731028 (diff)
Merge pull request #30981 from IAmActuallyCthulhu/pr/fix-typo-physics-2d-server-wrap-mt
Correct typo and format of comments
Diffstat (limited to 'servers')
-rw-r--r--servers/physics_2d/physics_2d_server_wrap_mt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/physics_2d/physics_2d_server_wrap_mt.h b/servers/physics_2d/physics_2d_server_wrap_mt.h
index b61e1faad2..33a184ba3f 100644
--- a/servers/physics_2d/physics_2d_server_wrap_mt.h
+++ b/servers/physics_2d/physics_2d_server_wrap_mt.h
@@ -327,11 +327,11 @@ public:
static Physics2DServer *init_server() {
int tm = GLOBAL_DEF("physics/2d/thread_model", 1);
- if (tm == 0) //single unsafe
+ if (tm == 0) // single unsafe
return memnew(T);
- else if (tm == 1) //single saef
+ else if (tm == 1) // single safe
return memnew(Physics2DServerWrapMT(memnew(T), false));
- else //single unsafe
+ else // multi threaded
return memnew(Physics2DServerWrapMT(memnew(T), true));
}