1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

neonmodes work better with bordcolor changed

This commit is contained in:
Zeno Rogue 2020-02-07 18:33:58 +01:00
parent c9401baff3
commit 4b4c21cfa4

View File

@ -2092,7 +2092,7 @@ EX dqi_poly& queuepolyat(const transmatrix& V, const hpcshape& h, color_t col, P
if(poly_outline != 0xFF) ptd.outline = poly_outline;
break;
case 4: {
if(poly_outline > 0xFF) {
if(poly_outline && (poly_outline>>8) != bordcolor) {
ptd.color = magentize(col);
ptd.outline = 0xFF;
}
@ -2249,7 +2249,7 @@ EX void queuestrn(const transmatrix& V, double size, const string& chr, color_t
}
case 4: {
dynamicval<color_t> c(poly_outline, poly_outline);
if(poly_outline > 0xFF) {
if(poly_outline && (poly_outline>>8) != bordcolor) {
col = magentize(col << 8) >> 8;
poly_outline = 0xFF;
}