diff options
-rw-r--r-- | crawl-ref/source/spells1.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc index 731c123976..6fe6ede610 100644 --- a/crawl-ref/source/spells1.cc +++ b/crawl-ref/source/spells1.cc @@ -761,7 +761,7 @@ int cast_healing( int pow, int target_x, int target_y ) int cast_revitalisation(int pow) { - const int max_steps = std::max(6, pow); + const int max_steps = std::min(6, pow); int steps = 0; switch (random2(3)) |