diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 13:22:39 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-07-05 14:00:11 +0200 |
commit | 68935e461e64eeb85ea44c616d1eab58975b8e20 (patch) | |
tree | 471804168af54b681856211f26fefb5091b34c34 /crawl-ref/source/map_knowledge.h | |
parent | 15d548d4ba1148531b8d755d4130962126bccb52 (diff) | |
download | crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.tar.gz crawl-ref-68935e461e64eeb85ea44c616d1eab58975b8e20.zip |
Some more return deparenthesization.
Diffstat (limited to 'crawl-ref/source/map_knowledge.h')
-rw-r--r-- | crawl-ref/source/map_knowledge.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/map_knowledge.h b/crawl-ref/source/map_knowledge.h index 378c613433..a101f2315f 100644 --- a/crawl-ref/source/map_knowledge.h +++ b/crawl-ref/source/map_knowledge.h @@ -85,7 +85,7 @@ struct map_cell map_cell& operator=(const map_cell& c) { if (&c == this) - return (*this); + return *this; if (_cloud) delete _cloud; if (_mons) @@ -99,7 +99,7 @@ struct map_cell _mons = new monster_info(*_mons); if (_item) _item = new item_info(*_item); - return (*this); + return *this; } void clear() |