dan7886 / gta2-game-hunter

Automatically exported from code.google.com/p/gta2-game-hunter
0 stars 0 forks source link

Replace magic numbers with constants #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Many bugs and crashes were introduced by BenMillard after he changed chat 
control arrays from 0-based to 1-based.

A complete solution might be to introduce a constant instead of using "0" and 
"1" as magic numbers throughout the code?

Formatted proposal with pseudo-code here:

http://gtamp.com/forum/viewtopic.php?f=1&t=554#p6724

Original issue reported on code.google.com by aa22c...@gmail.com on 18 Jun 2012 at 8:58