summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/newgame.cc')
-rw-r--r--crawl-ref/source/newgame.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 826fceb758..4f02c1060a 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -5020,7 +5020,7 @@ bool _give_items_skills()
// The new Xom also uses gift_timeout in his own special way...
// (Namely, a countdown to becoming bored.)
- you.gift_timeout = random2(40) + random2(40);
+ you.gift_timeout = std::max(5, random2(40) + random2(40));
}
else // Makhleb or Lugonu
{