|
From: <gi...@cr...> - 2013-07-29 13:15:48
|
via 0cca98f75e9c368f1bed4912cdfb5ed8b3382424 (commit)
from 7ea04537d5233a2a58f57817d5bcaf2caecb1136 (commit)
-----------------------------------------------------------------------
commit 0cca98f75e9c368f1bed4912cdfb5ed8b3382424
Author: Adam Borowski <kil...@an...>
Date: Mon Jul 29 15:10:47 2013 +0200
Unbreak tiles.
-----------------------------------------------------------------------
Summary of changes:
crawl-ref/source/tilereg-cmd.cc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/crawl-ref/source/tilereg-cmd.cc b/crawl-ref/source/tilereg-cmd.cc
index c274492..b245568 100644
--- a/crawl-ref/source/tilereg-cmd.cc
+++ b/crawl-ref/source/tilereg-cmd.cc
@@ -14,6 +14,7 @@
#include "libutil.h"
#include "macro.h"
#include "misc.h"
+#include "religion.h"
#include "terrain.h"
#include "tiledef-dngn.h"
#include "tiledef-icons.h"
@@ -186,7 +187,7 @@ static bool _command_not_applicable(const command_type cmd, bool safe)
case CMD_INTERLEVEL_TRAVEL:
return (!safe);
case CMD_DISPLAY_RELIGION:
- return (you_worship(GOD_NO_GOD));
+ return you_worship(GOD_NO_GOD);
case CMD_PRAY:
return (you_worship(GOD_NO_GOD)
&& !feat_is_altar(grd(you.pos())));
--
Dungeon Crawl Stone Soup
|