diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 12:14:09 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 12:14:09 +0200 |
commit | c41419c4f47bbf0737d3fedf58128c835d2c4e3b (patch) | |
tree | 764ae18c107df39fd90af718922036bd245561ca /crawl-ref/source/l_subvault.cc | |
parent | b80adef8882143cad34f3c8bcc9a8ccbd4440223 (diff) | |
download | crawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.tar.gz crawl-ref-c41419c4f47bbf0737d3fedf58128c835d2c4e3b.zip |
Drop parentheses around scalar values in "return".
Diffstat (limited to 'crawl-ref/source/l_subvault.cc')
-rw-r--r-- | crawl-ref/source/l_subvault.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/l_subvault.cc b/crawl-ref/source/l_subvault.cc index d986b470b2..ce29f0e65e 100644 --- a/crawl-ref/source/l_subvault.cc +++ b/crawl-ref/source/l_subvault.cc @@ -14,7 +14,7 @@ static int dgn_is_subvault(lua_State *ls) MAP(ls, 1, map); lua_pushboolean(ls, map->is_subvault()); - return (1); + return 1; } static int dgn_default_subvault_glyphs(lua_State *ls) @@ -22,7 +22,7 @@ static int dgn_default_subvault_glyphs(lua_State *ls) MAP(ls, 1, map); map->apply_subvault_mask(); - return (0); + return 0; } static int dgn_subvault_cell_valid(lua_State *ls) @@ -33,7 +33,7 @@ static int dgn_subvault_cell_valid(lua_State *ls) c.y = luaL_checkint(ls, 3); lua_pushboolean(ls, map->subvault_cell_valid(c)); - return (1); + return 1; } static int dgn_subvault_size(lua_State *ls) @@ -42,7 +42,7 @@ static int dgn_subvault_size(lua_State *ls) lua_pushnumber(ls, map->subvault_width()); lua_pushnumber(ls, map->subvault_height()); - return (2); + return 2; } const struct luaL_reg dgn_subvault_dlib[] = |