Ah, bitshifting. First image is the failure where even the difference is a pain in the ass to spot. Second image is the bug. Super obvious fix right.
For funsies I am porting a Golang function to Lua... which means going from 0-based arrays to 1-based. It's fine, I have lots of hair to pull out.
For funsies I am porting a Golang function to Lua... which means going from 0-based arrays to 1-based. It's fine, I have lots of hair to pull out.
1 / 2
Comments
It's never fun and easy.