1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

fixed the chessboard pattern

This commit is contained in:
Zeno Rogue 2018-05-03 11:06:31 +02:00
parent c8b1ea8ee6
commit 0049a65be6

View File

@ -1232,7 +1232,7 @@ namespace patterns {
col[2] /= 4;
return (0x202020 + col[0] + (col[1] << 8) + (col[2] << 16)) >> (err?2:0);
}
if(whichPattern == 'c') {
if(whichCanvas == 'c') {
return (c->master->distance&1) ? 0xC0C0C0 : 0x202020;
}
if(whichCanvas == 'F') {