Re:Thirteen Years of Bad Game Code
by yblu on Friday March 31, 2017 @02:04PM
(#14006351)
This `for` loop looks particularly curious to me:
Why isn't the last expression a normal i--?
[ Parent
| on HN ]
Because bindings[10] might have triggered a process that removes bindings 7-9, causing "i" to be out of bounds of the array. I wanted to continue updating the remaining bindings even if some of them got removed.