drskull/TrinityCore — comment on commit d6ebfa993bd774135b255f1a6560a8aa22237b89
File: src/server/game/Entities/Unit/Unit.cpp line 7090
By MachiavelliTrinity:

Wouldn't it be better to do it like this:

|| attType == BASE_ATTACK && !(procFlag & PROC_FLAG_DONE_MAINHAND_ATTACK)
|| attType == OFF_ATTACK && !(procFlag & PROC_FLAG_DONE_OFFHAND_ATTACK))
return false;

?