Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct typo and format of comments #30981

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions servers/physics_2d/physics_2d_server_wrap_mt.h
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,11 @@ class Physics2DServerWrapMT : public Physics2DServer {
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));
}

Expand Down