Quote:
Originally Posted by danielkza
This is only true because PLUGIN_CONTINUE and PLUGIN_HANDLED correspond to 0 and 1. For other values, like FMRES_*, they may not. In this special case, it's easier to do as you stated. However, in others, this solution maybe cleaner than an if() statement.
|
I never said this would work in other cases. It works in this one and reduces instructions while not making it any more confusing, so there's no reason not to do it this way.
__________________