]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/client/clientmap.h
Properly keep noclip state in Game and ClientMap
[dragonfireclient.git] / src / client / clientmap.h
index 823870c6860d699a3623a0b45c1f7d4de0851a67..8c45b538276215a4d70120dbfe049d8258f7060b 100644 (file)
@@ -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;
 };