fix unary operator bind order in integral tree parser

This commit is contained in:
Martin Michelsen
2024-05-31 23:05:19 -07:00
parent 64082fa872
commit 5ce4eb8cfc
3 changed files with 17 additions and 15 deletions
+4 -2
View File
@@ -482,8 +482,10 @@ static void server_command_qset_qclear(shared_ptr<Client> c, const std::string&
} else {
l->quest_flag_values->clear(l->difficulty, flag_num);
}
} else if (c->version() == Version::BB_V4) {
auto p = c->character();
}
auto p = c->character(false);
if (p) {
if (should_set) {
p->quest_flags.set(l->difficulty, flag_num);
} else {