Quote:
Originally Posted by Robin
two is the smallest amount of checks but if you notice it only does one if statement instead of two, hence optimised (although not by much)
|
There's an 'else' in there though
return p == 0 ? findplayer(pl) : p
if (p == 0) return findplayer(pl) else return p;