summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-13 14:35:56 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-13 19:51:51 +0100
commit14be7c5cfe60d0d9f1a00cd543c32482bdd544d4 (patch)
treeb4fa79fbe2a0d21c9e2e05e890a43289a7378a60 /crawl-ref/source/actor.h
parent5aba0fa49e632d5f61d3489263f36dde4a74dfad (diff)
downloadcrawl-ref-14be7c5cfe60d0d9f1a00cd543c32482bdd544d4.tar.gz
crawl-ref-14be7c5cfe60d0d9f1a00cd543c32482bdd544d4.zip
Let unrandart shields have a melee_effect func, called on successful block.
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r--crawl-ref/source/actor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h
index 72c5057e71..401b768d7f 100644
--- a/crawl-ref/source/actor.h
+++ b/crawl-ref/source/actor.h
@@ -181,7 +181,7 @@ public:
virtual int shield_block_penalty() const = 0;
virtual int shield_bypass_ability(int tohit) const = 0;
- virtual void shield_block_succeeded() { }
+ virtual void shield_block_succeeded(actor *foe);
virtual int mons_species() const = 0;