mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-18 19:24:48 +00:00
embeddings:: noshadow disables monster shadows
This commit is contained in:
parent
0fd676e6d3
commit
472443a6d2
@ -611,6 +611,7 @@ EX bool noshadow;
|
||||
#if CAP_SHAPES
|
||||
EX void ShadowV(const shiftmatrix& V, const hpcshape& bp, PPR prio IS(PPR::MONSTER_SHADOW)) {
|
||||
if(WDIM == 2 && GDIM == 3 && bp.shs != bp.she) {
|
||||
if(noshadow) return;
|
||||
auto& p = queuepolyat(V, bp, 0x18, PPR::TRANSPARENT_SHADOW);
|
||||
p.outline = 0;
|
||||
p.subprio = -100;
|
||||
|
Loading…
Reference in New Issue
Block a user