mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-18 23:10:26 +00:00
moved draw_sky out of #if
This commit is contained in:
parent
f87e3b3dce
commit
46f2fa4f9a
4
sky.cpp
4
sky.cpp
@ -5,6 +5,8 @@ namespace hr {
|
||||
EX bool context_fog = true;
|
||||
|
||||
EX ld camera_level;
|
||||
EX bool draw_sky = true;
|
||||
|
||||
#if MAXMDIM >= 4 && CAP_GL
|
||||
|
||||
EX int get_skybrightness(int mul IS(1)) {
|
||||
@ -52,8 +54,6 @@ vector<glhr::colored_vertex> skyvertices;
|
||||
cell *sky_centerover;
|
||||
shiftmatrix sky_cview;
|
||||
|
||||
EX bool draw_sky = true;
|
||||
|
||||
void compute_skyvertices(const vector<sky_item>& sky) {
|
||||
skyvertices.clear();
|
||||
if(!draw_sky) return;
|
||||
|
Loading…
Reference in New Issue
Block a user