summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/feature.cc
diff options
context:
space:
mode:
authorChris Oelmueller <chris.oelmueller@gmail.com>2013-07-31 03:58:01 +0200
committerChris Campbell <chriscampbell89@gmail.com>2013-08-03 03:08:12 +0100
commitf66cb844ab65f57161a52e3843ddda8f230588a8 (patch)
tree9e20151ad2b2c9f1ebd2bd0ec42b4f30091414cc /crawl-ref/source/feature.cc
parenta588b26c5ef24f6ad469d5c1d48b4b7702040c96 (diff)
downloadcrawl-ref-f66cb844ab65f57161a52e3843ddda8f230588a8.tar.gz
crawl-ref-f66cb844ab65f57161a52e3843ddda8f230588a8.zip
More padding fixes for ternary operator
Diffstat (limited to 'crawl-ref/source/feature.cc')
-rw-r--r--crawl-ref/source/feature.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/feature.cc b/crawl-ref/source/feature.cc
index c2ad9c021d..0b95abb7d0 100644
--- a/crawl-ref/source/feature.cc
+++ b/crawl-ref/source/feature.cc
@@ -14,7 +14,7 @@ const feature_def &get_feature_def(show_type object)
// If this is a monster that is hidden explicitly, show items if
// any instead, or the base feature if there are no items.
if (object.cls == SH_MONSTER)
- object.cls = (object.item != SHOW_ITEM_NONE)? SH_ITEM : SH_FEATURE;
+ object.cls = (object.item != SHOW_ITEM_NONE) ? SH_ITEM : SH_FEATURE;
return Features[object];
}