Correct typo and format of comments
This commit is contained in:
parent
4b7b1b0d4a
commit
4e617d2ca2
@ -329,9 +329,9 @@ public:
|
||||
int tm = GLOBAL_DEF("physics/2d/thread_model", 1);
|
||||
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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user