summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/describe.h2
-rw-r--r--crawl-ref/source/spl-cast.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.h b/crawl-ref/source/describe.h
index 305c7d2f50..7696f03da6 100644
--- a/crawl-ref/source/describe.h
+++ b/crawl-ref/source/describe.h
@@ -96,7 +96,7 @@ void get_monster_db_desc(const monsters &item, describe_info &inf,
/* ***********************************************************************
* called from: item_use - spl-cast
* *********************************************************************** */
-void describe_spell(spell_type spelled, const item_def* item);
+void describe_spell(spell_type spelled, const item_def* item = NULL);
// last updated 13oct2003 {darshan}
/* ***********************************************************************
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index f57ade3fce..381ddf95d8 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -320,7 +320,7 @@ int list_spells(bool toggle_with_I, bool viewing, int minRange)
ASSERT(sel[0]->hotkeys.size() == 1);
if (spell_menu.menu_action == Menu::ACT_EXAMINE)
{
- describe_spell(get_spell_by_letter(sel[0]->hotkeys[0]), NULL);
+ describe_spell(get_spell_by_letter(sel[0]->hotkeys[0]));
redraw_screen();
}
else