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/tiletex.h | |
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/tiletex.h')
-rw-r--r-- | crawl-ref/source/tiletex.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tiletex.h b/crawl-ref/source/tiletex.h index acda739fab..f150a5b2d4 100644 --- a/crawl-ref/source/tiletex.h +++ b/crawl-ref/source/tiletex.h @@ -102,7 +102,7 @@ inline bool TilesTexture::get_coords(tileidx_t idx, int ofs_x, int ofs_y, // Nothing to draw. if (sy >= ey) - return (false); + return false; pos_sx += (ofs_x + inf.offset_x + size_ox) / tile_x; pos_sy += sy / tile_y; @@ -114,7 +114,7 @@ inline bool TilesTexture::get_coords(tileidx_t idx, int ofs_x, int ofs_y, tex_ex = inf.ex / fwidth; tex_ey = (inf.ey + ey - pos_ey_adjust) / fheight; - return (true); + return true; } class ImageManager |