Skip to content

Commit 4459ead

Browse files
committed
Parentheses cleanup.
1 parent 7d5c6f6 commit 4459ead

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/timequeue.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ free_timenode(timequeue ptr)
224224
prog_clean(ptr->fr);
225225
}
226226

227-
if (ptr->typ == TQ_MUF_TYP && (ptr->subtyp == TQ_MUF_READ)) {
227+
if (ptr->typ == TQ_MUF_TYP && ptr->subtyp == TQ_MUF_READ) {
228228
FLAGS(ptr->uid) &= ~INTERACTIVE;
229229
FLAGS(ptr->uid) &= ~READMODE;
230230
notify_nolisten(ptr->uid,
@@ -831,7 +831,7 @@ handle_read_event(int descr, dbref player, const char *command)
831831
* If there are any, set the READ related flags.
832832
*/
833833
while (ptr) {
834-
if (ptr->typ == TQ_MUF_TYP && (ptr->subtyp == TQ_MUF_READ)) {
834+
if (ptr->typ == TQ_MUF_TYP && ptr->subtyp == TQ_MUF_READ) {
835835
if (ptr->uid == player) {
836836
FLAGS(player) |= (INTERACTIVE | READMODE);
837837
}
@@ -1631,7 +1631,7 @@ dequeue_process(int pid)
16311631
* in a READ state? Just an educated guess. (tanabi)
16321632
*/
16331633
for (ptr = tqhead; ptr; ptr = ptr->next) {
1634-
if (ptr->typ == TQ_MUF_TYP && (ptr->subtyp == TQ_MUF_READ)) {
1634+
if (ptr->typ == TQ_MUF_TYP && ptr->subtyp == TQ_MUF_READ) {
16351635
FLAGS(ptr->uid) |= (INTERACTIVE | READMODE);
16361636
}
16371637
}

0 commit comments

Comments
 (0)