From e26ee9bec53f5fb03ce55baadd0eb06f8cac77da Mon Sep 17 00:00:00 2001 From: zelgadis Date: Thu, 1 Jan 2009 07:55:09 +0000 Subject: Don't let the player starve to death while observing the arena. ouch() asserts if called while in arena mode. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8077 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/arena.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/arena.cc') diff --git a/crawl-ref/source/arena.cc b/crawl-ref/source/arena.cc index 9b66a2531d..aac287ac47 100644 --- a/crawl-ref/source/arena.cc +++ b/crawl-ref/source/arena.cc @@ -425,6 +425,8 @@ namespace arena // Move hero offscreen. you.position.y = -1; you.time_taken = 10; + // Make sure we don't starve. + you.hunger = 10999; //report_foes(); world_reacts(); delay(Options.arena_delay); -- cgit v1.2.3-54-g00ecf