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

Orb of Invisibility.

This commit is contained in:
Jacob Mandelson 2022-08-30 14:49:37 -07:00
parent 94b2a27b35
commit 3081817872

View File

@ -1130,11 +1130,11 @@ EX bool drawItemType(eItem it, cell *c, const shiftmatrix& V, color_t icol, int
(it == itOrbPsi || it == itOrbSide3) ? &cgi.shDiskS : (it == itOrbPsi || it == itOrbSide3) ? &cgi.shDiskS :
(it == itOrbPurity) ? &cgi.shSmallEgg : (it == itOrbPurity) ? &cgi.shSmallEgg :
(it == itOrbLightning) ? &cgi.shLightningBolt : (it == itOrbLightning) ? &cgi.shLightningBolt :
(it == itOrbIllusion) ? &cgi.shHumanoid : (it == itOrbIllusion || it == itOrbInvis) ? &cgi.shHumanoid :
NULL; NULL;
queuepolyat(Vit, cgi.shDisk, dark, prio); queuepolyat(Vit, cgi.shDisk, dark, prio);
if (shape) if (shape)
queuepolyat(Vit, *shape, 0x80, prio); queuepolyat(Vit, *shape, (it == itOrbInvis) ? 0x20 : 0x80, prio);
if (it == itOrbSide1 || shape == &cgi.shEccentricDisk) if (it == itOrbSide1 || shape == &cgi.shEccentricDisk)
queuepolyat(Vit*Mirror, *shape, 0x80, prio); queuepolyat(Vit*Mirror, *shape, 0x80, prio);
if (it == itOrbEnergy) if (it == itOrbEnergy)