diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 21:46:11 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 21:51:49 +0100 |
commit | b4544535b4cba05e494c17d9b06d18ae36edcdde (patch) | |
tree | 5910a4baded57b9e6122313cf531210f6b2db40e /crawl-ref/source/item_use.cc | |
parent | 5e4363aeaf2796ee28133734fe1729aceb311fe4 (diff) | |
download | crawl-ref-b4544535b4cba05e494c17d9b06d18ae36edcdde.tar.gz crawl-ref-b4544535b4cba05e494c17d9b06d18ae36edcdde.zip |
Move tutorial state out of Options.
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 5ab49f1123..12c02afeb9 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -377,7 +377,7 @@ bool wield_weapon(bool auto_wield, int slot, bool show_weff_messages, if (show_weff_messages) wield_warning(); - if (Options.tutorial_left && your_talents(false).size() > old_talents) + if (Tutorial.tutorial_left && your_talents(false).size() > old_talents) learned_something_new(TUT_NEW_ABILITY_ITEM); // Time calculations. @@ -3119,8 +3119,8 @@ bool throw_it(bolt &pbolt, int throw_2, bool teleport, int acc_bonus, } else { - if (Options.tutorial_left) - Options.tut_throw_counter++; + if (Tutorial.tutorial_left) + Tutorial.tut_throw_counter++; // Dropping item copy, since the launched item might be different. pbolt.drop_item = !did_return; @@ -3857,7 +3857,7 @@ bool puton_item(int item_slot) // And calculate the effects. jewellery_wear_effects(item); - if (Options.tutorial_left && your_talents(false).size() > old_talents) + if (Tutorial.tutorial_left && your_talents(false).size() > old_talents) learned_something_new(TUT_NEW_ABILITY_ITEM); // Putting on jewellery is as fast as wielding weapons. |