mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-27 15:32:53 +00:00
draw_sky disabled now also disables Euclidean sky
This commit is contained in:
parent
0570d3afee
commit
852dc94fad
1
sky.cpp
1
sky.cpp
@ -46,6 +46,7 @@ EX void prepare_sky() {
|
|||||||
if(euclid && !geom3::sph_in_euc()) {
|
if(euclid && !geom3::sph_in_euc()) {
|
||||||
if(WDIM == 3 || GDIM == 2) return;
|
if(WDIM == 3 || GDIM == 2) return;
|
||||||
if(no_wall_rendering) return;
|
if(no_wall_rendering) return;
|
||||||
|
if(!draw_sky) return;
|
||||||
shiftmatrix T = ggmatrix(currentmap->gamestart());
|
shiftmatrix T = ggmatrix(currentmap->gamestart());
|
||||||
T.T = gpushxto0(tC0(T.T)) * T.T;
|
T.T = gpushxto0(tC0(T.T)) * T.T;
|
||||||
queuepoly(T, cgi.shEuclideanSky, 0x0044e4FF);
|
queuepoly(T, cgi.shEuclideanSky, 0x0044e4FF);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user