diff options
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r-- | crawl-ref/source/makeitem.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc index 98fb9a8e0f..16af19d86e 100644 --- a/crawl-ref/source/makeitem.cc +++ b/crawl-ref/source/makeitem.cc @@ -228,9 +228,10 @@ static int special_colour() { switch(random2(3)) { - case 0: return RED; - case 1: return LIGHTBLUE; - case 2: return MAGENTA; + case 0: return RED; + case 1: return LIGHTBLUE; + case 2: return MAGENTA; + default: return RED; // compiler warnings, hush } } |