~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow --save to work with --soln, causing saved game files to be
[sgt/puzzles]
/
signpost.c
diff --git
a/signpost.c
b/signpost.c
index
6b16ff7
..
19649b2
100644
(file)
--- a/
signpost.c
+++ b/
signpost.c
@@
-1812,8
+1812,8
@@
static int num2col(game_drawstate *ds, int num)
{
int set = num / (ds->n+1);
{
int set = num / (ds->n+1);
- if (num <= 0) return COL_B0;
- return COL_B0 +
(set % 16
);
+ if (num <= 0
|| set == 0
) return COL_B0;
+ return COL_B0 +
1 + ((set-1) % 15
);
}
#define ARROW_HALFSZ (7 * TILE_SIZE / 32)
}
#define ARROW_HALFSZ (7 * TILE_SIZE / 32)