Quote:
Originally Posted by Rick
Fixed. NPC Code:
0000 is 0
0001 is 1
0010 is 2
0011 is 2 | 1
0100 is 4
0101 is 4 | 1
0111 is 4 | 2 | 1
|
They evaluate to the same result, though bitwise or is probably faster. The purpose of that section was just to demonstrate how integers are represented in bits.