View Single Post
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 11-08-2011, 12:45 AM

Less of a bug and more of an off-by-one error. See, when programming people tend to make lots of off-by-one's, especially when concerning inequalities. They're really hard to find because they don't generate an error, and are somewhat hard to find under a massive stack of code. Likely all the guy had to do was change the operator for the max random number from < to <=.
   
Reply With Quote