summaryrefslogtreecommitdiff
path: root/src/mapgen_flat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapgen_flat.h')
-rw-r--r--src/mapgen_flat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mapgen_flat.h b/src/mapgen_flat.h
index 7c2929d39..d34e4d86c 100644
--- a/src/mapgen_flat.h
+++ b/src/mapgen_flat.h
@@ -18,8 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MAPGEN_FLAT_HEADER
-#define MAPGEN_FLAT_HEADER
+#pragma once
#include "mapgen.h"
@@ -75,5 +74,3 @@ private:
float hill_steepness;
Noise *noise_terrain;
};
-
-#endif