summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-09 15:30:30 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-09 15:30:30 +0000
commit1798905e716ab714da4ec70262532988b58356cd (patch)
tree12e1fa445562b6840492ae4f6acabed0199f3ab5 /crawl-ref/source/describe.cc
parent55826a15202764602ab3ad81cdeb3dd37ee9cb0b (diff)
downloadcrawl-ref-1798905e716ab714da4ec70262532988b58356cd.tar.gz
crawl-ref-1798905e716ab714da4ec70262532988b58356cd.zip
Added ice statues.
Monster spells now use spell_type instead of the old mon_spell_type. Fixed buggy behaviour when banished from Labyrinth. DGL_WHEREIS was not including current time, fixed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1275 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 0140545dd3..aea61f9d6a 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -3393,7 +3393,7 @@ void describe_item( const item_def &item )
// Describes (most) every spell in the game.
//
//---------------------------------------------------------------
-void describe_spell(int spelled)
+void describe_spell(spell_type spelled)
{
std::string description;
@@ -3487,7 +3487,7 @@ void describe_spell(int spelled)
description += "speeds the actions of a creature. ";
break;
- case SPELL_PARALYZE:
+ case SPELL_PARALYSE:
description += "prevents a creature from moving. ";
break;
@@ -6235,6 +6235,11 @@ void describe_monsters(int class_described, unsigned char which_mons)
"glow with an otherworldly radiance.";
break;
+ case MONS_ICE_STATUE:
+ description += "An imposing statue carved in glistening ice. "
+ "Freezing vapours swirl about it.";
+ break;
+
case MONS_MURRAY:
description += "A demonic skull rolling along the dungeon floor.";
break;
@@ -6258,7 +6263,7 @@ void describe_monsters(int class_described, unsigned char which_mons)
for (int i = 0; i < 6; i++)
{
- if (hspell_pass[i] != MS_NO_SPELL)
+ if (hspell_pass[i] != SPELL_NO_SPELL)
{
if (!found_spell)
{