diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-11 20:36:46 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-02-11 20:36:46 +0000 |
commit | f5ce15870a0d4ae042a704065df4d0cdbbda0506 (patch) | |
tree | 3b8b31a38729b64be106930df581aef7197c6202 /crawl-ref/source/describe.cc | |
parent | 50a255f8eaad1124e731f6fb1de417baaa133a80 (diff) | |
download | crawl-ref-f5ce15870a0d4ae042a704065df4d0cdbbda0506.tar.gz crawl-ref-f5ce15870a0d4ae042a704065df4d0cdbbda0506.zip |
Fix [2586695]: you can no longer throw items (including via Portal
Projectile) if you can't wield weapons.
Don't allow base-shape breath attacks when shapechanged, except
for Nagas in spider form.
Fix [2589913]: melded shields counted for heavy armour penalties.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9026 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r-- | crawl-ref/source/describe.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc index 8b99c28409..ba24dcbc12 100644 --- a/crawl-ref/source/describe.cc +++ b/crawl-ref/source/describe.cc @@ -595,7 +595,7 @@ const char *trap_name(trap_type trap) ASSERT(NUM_TRAPS == sizeof(trap_names) / sizeof(*trap_names)); if (trap >= TRAP_DART && trap < NUM_TRAPS) - return trap_names[ static_cast<int>( trap ) ]; + return trap_names[trap]; return (NULL); } |