Skip to content

Commit

Permalink
Correct typo and format of comments
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmActuallyCthulhu committed Jul 30, 2019
1 parent 4b7b1b0 commit 4e617d2
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 4e617d2

Please sign in to comment.