diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-06-20 21:53:11 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-06-20 21:53:11 +0200 |
commit | 8ca9b209fbb121e5ca7b1da2ef64b90e9061aa0a (patch) | |
tree | b7fe1f354427e3801fc36ce4e215c38f07efc52b /crawl-ref/source/exclude.cc | |
parent | fb5802231e98a82fb434fb775ac55b104485e91c (diff) | |
download | crawl-ref-8ca9b209fbb121e5ca7b1da2ef64b90e9061aa0a.tar.gz crawl-ref-8ca9b209fbb121e5ca7b1da2ef64b90e9061aa0a.zip |
Fix an invalid return value.
Diffstat (limited to 'crawl-ref/source/exclude.cc')
-rw-r--r-- | crawl-ref/source/exclude.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/exclude.cc b/crawl-ref/source/exclude.cc index 9cfd691cae..7ee1748ab7 100644 --- a/crawl-ref/source/exclude.cc +++ b/crawl-ref/source/exclude.cc @@ -283,7 +283,7 @@ travel_exclude* exclude_set::get_exclude_root(const coord_def &p) if (it != exclude_roots.end()) return (&(it->second)); - return (false); + return (NULL); } size_t exclude_set::size() const |