summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/decks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/decks.cc')
-rw-r--r--crawl-ref/source/decks.cc14
1 files changed, 6 insertions, 8 deletions
diff --git a/crawl-ref/source/decks.cc b/crawl-ref/source/decks.cc
index 8755413256..06f05e9027 100644
--- a/crawl-ref/source/decks.cc
+++ b/crawl-ref/source/decks.cc
@@ -778,19 +778,17 @@ static void cards(unsigned char which_card)
mpr("You have drawn the Symbol of Torment.");
torment( TORMENT_CARDS, you.x_pos, you.y_pos );
break;
-
-// what about checking whether there are items there, too? {dlb}
+
case CARD_FOUNTAIN:
+ // what about checking whether there are items there, too? {dlb}
mpr("You have drawn the Fountain.");
if (grd[you.x_pos][you.y_pos] == DNGN_FLOOR)
{
- strcpy( info, "A beautiful fountain of clear blue water grows "
- "from the floor " );
-
- strcat( info, (you.species == SP_NAGA || you.species == SP_CENTAUR)
- ? "before you!" : "at your feet!" );
- mpr(info);
+ mprf("A beautiful fountain of clear blue water grows from the "
+ "floor %s!",
+ (you.species == SP_NAGA || you.species == SP_CENTAUR) ?
+ "before you!" : "at your feet!" );
grd[you.x_pos][you.y_pos] = DNGN_BLUE_FOUNTAIN;
}
else