summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_mapmrk.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_mapmrk.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_mapmrk.cc')
-rw-r--r--crawl-ref/source/l_mapmrk.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/l_mapmrk.cc b/crawl-ref/source/l_mapmrk.cc
index 155568d5b7..8d6e69ad2e 100644
--- a/crawl-ref/source/l_mapmrk.cc
+++ b/crawl-ref/source/l_mapmrk.cc
@@ -11,7 +11,7 @@ static int mapmarker_pos(lua_State *ls)
MAPMARKER(ls, 1, mark);
lua_pushnumber(ls, mark->pos.x);
lua_pushnumber(ls, mark->pos.y);
- return (2);
+ return 2;
}
static int mapmarker_move(lua_State *ls)
@@ -19,14 +19,14 @@ static int mapmarker_move(lua_State *ls)
MAPMARKER(ls, 1, mark);
const coord_def dest(luaL_checkint(ls, 2), luaL_checkint(ls, 3));
env.markers.move_marker(mark, dest);
- return (0);
+ return 0;
}
static int mapmarker_remove(lua_State *ls)
{
MAPMARKER(ls, 1, mark);
env.markers.remove(mark);
- return (0);
+ return 0;
}
const struct luaL_reg mapmarker_dlib[] =