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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/newgame.cc b/crawl-ref/source/newgame.cc
index 40c49276f5..c1e9b284f8 100644
--- a/crawl-ref/source/newgame.cc
+++ b/crawl-ref/source/newgame.cc
@@ -1543,7 +1543,7 @@ static void choose_weapon( void )
{
int x = effective_stat_bonus(startwep[i]);
cprintf("%c - %s%s" EOL, 'a' + i,
- item_base_name(OBJ_WEAPONS, startwep[i]),
+ weapon_base_name(startwep[i]),
(x <= -4) ? " (not ideal)" : "" );
if (Options.prev_weapon == startwep[i])
@@ -1558,7 +1558,7 @@ static void choose_weapon( void )
{
cprintf("; Enter - %s",
Options.prev_weapon == WPN_RANDOM ? "Random" :
- item_base_name(OBJ_WEAPONS, Options.prev_weapon));
+ weapon_base_name(Options.prev_weapon));
}
cprintf(EOL);