diff options
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index 22726b562f..a89e46192d 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -1690,7 +1690,7 @@ void zap_los_monsters() // coord_def int coord_def::distance_from(const coord_def &other) const { - return (grid_distance(x, y, other.x, other.y)); + return (grid_distance(*this, other)); } int integer_sqrt(int value) |