bvschaik / citybuilding-tools

Tools for the Citybuilding games made by Impressions Games/BreakAway Games
MIT License
34 stars 7 forks source link

Error on green color computation #15

Open captnfab opened 5 months ago

captnfab commented 5 months ago

Current computation for green is:

 ((c & 0x3e0) << 6)  | ((c & 0x300))

But should be

 ((c & 0x3e0) << 6)  | ((c & 0x300) << 1)
captnfab commented 5 months ago

Fixed by #14