… | … | ||
---|---|---|---|
522 | { | 522 | { |
523 | negate = 1; | 523 | negate = 1; |
524 | str++; | 524 | str++; |
525 | } | 525 | } |
526 | 526 | ||
527 | for (const flagstr *f = move_flags; f < move_flags + sizeof (move_flags) / sizeof (move_flags [0]); ++f) | 527 | for (const flagstr *f = move_flags; f < move_flags + array_length (move_flags); ++f) |
528 | { | 528 | { |
529 | if (!strcmp (f->name, str)) | 529 | if (!strcmp (f->name, str)) |
530 | { | 530 | { |
531 | if (negate) | 531 | if (negate) |
532 | mt &= ~f->flags; | 532 | mt &= ~f->flags; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |