summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_feat.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-07-05 12:14:09 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-07-05 12:14:09 +0200
commitc41419c4f47bbf0737d3fedf58128c835d2c4e3b (patch)
tree764ae18c107df39fd90af718922036bd245561ca /crawl-ref/source/l_feat.cc
parentb80adef8882143cad34f3c8bcc9a8ccbd4440223 (diff)
downloadcrawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.tar.gz
crawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.zip
Drop parentheses around scalar values in "return".
Diffstat (limited to 'crawl-ref/source/l_feat.cc')
-rw-r--r--crawl-ref/source/l_feat.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/l_feat.cc b/crawl-ref/source/l_feat.cc
index 0e3ea7c481..0376efba6a 100644
--- a/crawl-ref/source/l_feat.cc
+++ b/crawl-ref/source/l_feat.cc
@@ -28,7 +28,7 @@
else if (lua_isstring(ls, 1)) \
lua_pushboolean(ls, val(dungeon_feature_by_name(\
luaL_checkstring(ls, 1))));\
- return (1); \
+ return 1; \
}
FEATF(_feat_is_wall, feat_is_wall)