mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-23 13:07:16 +00:00
rogueviz;: nilcompass:: fixup
This commit is contained in:
parent
37f8479629
commit
1cdf638128
@ -95,8 +95,9 @@ bool draw_compass(cell *c, const shiftmatrix& V) {
|
||||
ld t = 36 + (ticks - zeroticks) / 1000.;
|
||||
|
||||
auto remap = [&] (int _i, int _is) {
|
||||
auto col = s.col;
|
||||
if(s.i == _i && s.is == _is) return col;
|
||||
int c = part(s.col, 1) + part(s.col, 2) + part(s.col, 3);
|
||||
int c = part(col, 1) + part(col, 2) + part(col, 3);
|
||||
c += 1; c /= 12;
|
||||
color_t col1 = s.col;
|
||||
part(col1, 1) = part(col1, 2) = part(col1, 3) = c;
|
||||
|
Loading…
Reference in New Issue
Block a user