aboutsummaryrefslogtreecommitdiff
path: root/src/cavegen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cavegen.h')
-rw-r--r--src/cavegen.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cavegen.h b/src/cavegen.h
index db3e091f6..ce146e0cd 100644
--- a/src/cavegen.h
+++ b/src/cavegen.h
@@ -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 @@ private:
inline s16 getSurfaceFromHeightmap(v3s16 p);
};
-
-#endif