diff options
author | sfan5 <sfan5@live.de> | 2022-05-21 20:29:44 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2022-06-03 21:48:52 +0200 |
commit | 575caa8015fe420ce5e709d6c137036dfc0262ef (patch) | |
tree | e3ea30432afdcf9adaeb6868da03afdc12ad4c9a /src/client/clientmap.h | |
parent | 5f3af7d18b528e502e2cf09e0f46cc892df98dd4 (diff) | |
download | minetest-575caa8015fe420ce5e709d6c137036dfc0262ef.tar.gz minetest-575caa8015fe420ce5e709d6c137036dfc0262ef.tar.bz2 minetest-575caa8015fe420ce5e709d6c137036dfc0262ef.zip |
Properly keep noclip state in Game and ClientMap
Diffstat (limited to 'src/client/clientmap.h')
-rw-r--r-- | src/client/clientmap.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/clientmap.h b/src/client/clientmap.h index 823870c68..8c45b5382 100644 --- a/src/client/clientmap.h +++ b/src/client/clientmap.h @@ -27,10 +27,12 @@ with this program; if not, write to the Free Software Foundation, Inc., struct MapDrawControl { - // Overrides limits by drawing everything - bool range_all = false; // Wanted drawing range float wanted_range = 0.0f; + // Overrides limits by drawing everything + bool range_all = false; + // Allow rendering out of bounds + bool allow_noclip = false; // show a wire frame for debugging bool show_wireframe = false; }; |