summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r--crawl-ref/source/ghost.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc
index 72f9d8733e..5735eb9134 100644
--- a/crawl-ref/source/ghost.cc
+++ b/crawl-ref/source/ghost.cc
@@ -18,6 +18,7 @@
#include "ng-input.h"
#include "random.h"
#include "skills2.h"
+#include "mon-util.h"
#include "mtransit.h"
#include "place.h"
#include "player.h"
@@ -399,16 +400,6 @@ void ghost_demon::init_player_ghost()
add_spells();
}
-unsigned char ugly_thing_random_colour()
-{
- const unsigned char colours[] =
- {
- RED, BROWN, GREEN, CYAN, MAGENTA, LIGHTGREY
- };
-
- return (RANDOM_ELEMENT(colours));
-}
-
static unsigned char _ugly_thing_assign_colour(unsigned char force_colour,
unsigned char force_not_colour)
{