diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-09-07 18:12:24 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-09-08 02:44:19 +0200 |
commit | 997da1ad7d76c471901b834b70f686c578d913a6 (patch) | |
tree | 3b67f7581d2e97c5b79e491353ca1b156ea50d9a /crawl-ref/source/maps.cc | |
parent | 83fa91821cab56fbf9b0694bae8784ad1c1baafd (diff) | |
download | crawl-ref-997da1ad7d76c471901b834b70f686c578d913a6.tar.gz crawl-ref-997da1ad7d76c471901b834b70f686c578d913a6.zip |
Drop some useless parentheses.
Diffstat (limited to 'crawl-ref/source/maps.cc')
-rw-r--r-- | crawl-ref/source/maps.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/maps.cc b/crawl-ref/source/maps.cc index b2bc9f4fce..525001911e 100644 --- a/crawl-ref/source/maps.cc +++ b/crawl-ref/source/maps.cc @@ -674,7 +674,7 @@ const map_def *find_map_by_name(const string &name) { for (unsigned i = 0, size = vdefs.size(); i < size; ++i) if (vdefs[i].name == name) - return (&vdefs[i]); + return &vdefs[i]; return NULL; } @@ -1503,7 +1503,7 @@ void run_map_local_preludes() const map_def *map_by_index(int index) { - return (&vdefs[index]); + return &vdefs[index]; } /////////////////////////////////////////////////////////////////////////// |