From b4544535b4cba05e494c17d9b06d18ae36edcdde Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 16 Nov 2009 21:46:11 +0100 Subject: Move tutorial state out of Options. --- crawl-ref/source/mon-stuff.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/mon-stuff.cc') diff --git a/crawl-ref/source/mon-stuff.cc b/crawl-ref/source/mon-stuff.cc index 47c8e72c98..a1a955030e 100644 --- a/crawl-ref/source/mon-stuff.cc +++ b/crawl-ref/source/mon-stuff.cc @@ -498,7 +498,7 @@ int place_monster_corpse(const monsters *monster, bool silent, static void _tutorial_inspect_kill() { - if (Options.tutorial_events[TUT_KILLED_MONSTER]) + if (Tutorial.tutorial_events[TUT_KILLED_MONSTER]) learned_something_new(TUT_KILLED_MONSTER); } @@ -3480,7 +3480,7 @@ void seen_monster(monsters *monster) if (!mons_is_mimic(monster->type)) { - if (Options.tutorial_left) + if (Tutorial.tutorial_left) tutorial_first_monster(*monster); if (MONST_INTERESTING(monster)) -- cgit v1.2.3-54-g00ecf