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_dgntil.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_dgntil.cc')
-rw-r--r-- | crawl-ref/source/l_dgntil.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/l_dgntil.cc b/crawl-ref/source/l_dgntil.cc index b5ce593406..5be03bd5f6 100644 --- a/crawl-ref/source/l_dgntil.cc +++ b/crawl-ref/source/l_dgntil.cc @@ -142,7 +142,7 @@ LUAFN(dgn_tile_feat_changed) { env.tile_flv(c).feat = 0; env.tile_flv(c).feat_idx = 0; - return (0); + return 0; } std::string tilename = luaL_checkstring(ls, 3); @@ -160,7 +160,7 @@ LUAFN(dgn_tile_feat_changed) env.tile_flv(c).feat_idx = store_tilename_get_index(tilename); - return (0); + return 0; } LUAFN(dgn_tile_floor_changed) @@ -171,7 +171,7 @@ LUAFN(dgn_tile_floor_changed) { env.tile_flv(c).floor = 0; env.tile_flv(c).floor_idx = 0; - return (0); + return 0; } std::string tilename = luaL_checkstring(ls, 3); @@ -189,7 +189,7 @@ LUAFN(dgn_tile_floor_changed) env.tile_flv(c).floor_idx = store_tilename_get_index(tilename); - return (0); + return 0; } const struct luaL_reg dgn_tile_dlib[] = |