]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/cavegen.h
Make use of safe file writing in auth handler (fixes #6576)
[dragonfireclient.git] / src / cavegen.h
index db3e091f6f3fd6a8fb404ae5548d9d1d2c432c2e..ce146e0cda2108e15a2ce89ac6f83bf29b0ca213 100644 (file)
@@ -17,8 +17,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef CAVEGEN_HEADER
-#define CAVEGEN_HEADER
+#pragma once
 
 #define VMANIP_FLAG_CAVE VOXELFLAG_CHECKED1
 
@@ -241,5 +240,3 @@ class CavesV6
 
        inline s16 getSurfaceFromHeightmap(v3s16 p);
 };
-
-#endif