Disable the zot clock in sprints (hayenne)
authorNicholas Feinberg <pleasingfung@gmail.com>
Sat, 1 Aug 2020 20:20:37 +0000 (13:20 -0700)
committerNicholas Feinberg <pleasingfung@gmail.com>
Sat, 1 Aug 2020 20:20:37 +0000 (13:20 -0700)
crawl-ref/source/timed-effects.cc

index 59f7ac1..96679b7 100644 (file)
@@ -1275,7 +1275,7 @@ static int& _zot_clock()
 
 static bool _zot_clock_active_in(branch_type br)
 {
-    return br != BRANCH_ABYSS && !player_has_orb();
+    return br != BRANCH_ABYSS && !player_has_orb() && !crawl_state.game_is_sprint();
 }
 
 // Is the zot clock running, or is it paused or stopped altogether?