mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 17:41:19 +00:00
Remove redundant "== true" code
If it can be compared to a boolean, it can be evaluated as one in-place.
This commit is contained in:
parent
ffe94ef4e2
commit
37386f112b
19 changed files with 27 additions and 27 deletions
|
|
@ -974,7 +974,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_GodotLib_step(JNIEnv *env, job
|
|||
|
||||
os_android->process_gyroscope(gyroscope);
|
||||
|
||||
if (os_android->main_loop_iterate() == true) {
|
||||
if (os_android->main_loop_iterate()) {
|
||||
|
||||
jclass cls = env->FindClass("org/godotengine/godot/Godot");
|
||||
jmethodID _finish = env->GetMethodID(cls, "forceQuit", "()V");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue