summaryrefslogtreecommitdiff
path: root/src/gen_maze.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_maze.cc')
-rw-r--r--src/gen_maze.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gen_maze.cc b/src/gen_maze.cc
index a7da6eaa..387fecd8 100644
--- a/src/gen_maze.cc
+++ b/src/gen_maze.cc
@@ -1,8 +1,4 @@
/*
- * Maze dungeon generator
- */
-
-/*
* Copyright (c) 2003 DarkGod. And somebody who posted the algorith on
* rec.games.roguelike.development. I can't remember teh name :( please mail me
*
@@ -11,6 +7,8 @@
* included in all such copies.
*/
+#include "gen_evol.hpp"
+
#include "angband.h"
#include "cave.hpp"
#include "levels.hpp"
@@ -24,7 +22,7 @@
*/
typedef signed char maze_row[(MAX_WID / 2) + 2];
-void dig(maze_row *maze, int y, int x, int d)
+static void dig(maze_row *maze, int y, int x, int d)
{
int k;
int dy = 0, dx = 0;