diff options
| author | Rosemary Witchaven <32779090+in1tiate@users.noreply.github.com> | 2022-07-16 08:18:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-16 15:18:49 +0200 |
| commit | d056030e6c442907ad6d7c9689af42ba1621ccce (patch) | |
| tree | f12a3c37cf9cff733879e4fe369a215396d564c6 | |
| parent | 758ea0c516eabe1743cd3af9ff04472eb62e7888 (diff) | |
Swap a bitwise AND for a logical AND (#809)
Didn't cause any problems here because these are both of type bool, but it's bad form anyway
| -rw-r--r-- | src/courtroom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index da891168..030cc134 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -4085,7 +4085,7 @@ void Courtroom::on_ooc_return_pressed() //We ignore it when the server is compatible with 2.8 //Using an arbitrary 2.8 feature flag certainly won't cause issues someday. - if (ooc_message.startsWith("/pos") & !ao_app->effects_enabled) { + if (ooc_message.startsWith("/pos") && !ao_app->effects_enabled) { if (ooc_message == "/pos jud") { show_judge_controls(true); } |
