1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-18 11:14:49 +00:00

Merge pull request #322 from jlmjlm/hl_ani_dice

Highlight hostile dice if poly_outline is set for highlighting.
This commit is contained in:
Zeno Rogue 2022-10-06 08:44:02 +02:00 committed by GitHub
commit 93727e433e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1393,7 +1393,7 @@ EX namespace dice {
cy = face[1] - (face[3] + face[4]) * .4;
}
queuecurve(V1, 0xFFFFFFFF, color & 0xFFFFFF9F, prio);
queuecurve(V1, (poly_outline == OUTLINE_NONE) ? 0xFFFFFFFF : poly_outline, color & 0xFFFFFF9F, prio);
#if !CAP_EXTFONT
if(!vid.usingGL) continue;