1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-26 04:33:33 +00:00

added some missing CAP_ guards

This commit is contained in:
Zeno Rogue
2018-12-15 15:17:06 +01:00
parent cd001102f8
commit 4e4fce922e
9 changed files with 37 additions and 8 deletions

View File

@@ -1270,7 +1270,9 @@ void draw_boundary(int w) {
ld fakeinf = sphere ? M_PI-1e-5 : hyperbolic ? 10 : exp(10);
#if CAP_SVG
dynamicval<ld> dw(vid.linewidth, vid.linewidth * (svg::in ? svg::divby : 1));
#endif
if(elliptic && !among(pmodel, mdBand, mdBandEquidistant, mdBandEquiarea, mdSinusoidal))
circle_around_center(M_PI/2, periodcolor, 0, PPR::CIRCLE);