diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-19 21:02:48 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-01-19 21:02:48 +0000 |
commit | 96edac1d649d50f9cfacf317c88007783657c55f (patch) | |
tree | f6df66bbb1e96cf067eb1c4dd3bf506cb167c056 /crawl-ref/source/item_use.cc | |
parent | e40eb81627b79763549583a56ebd2cd1f91d337c (diff) | |
download | crawl-ref-96edac1d649d50f9cfacf317c88007783657c55f.tar.gz crawl-ref-96edac1d649d50f9cfacf317c88007783657c55f.zip |
Expand effect applicator functions to take an actor parameter, and use
it for holy word in order to generalize it. This way, monsters as well
as players may be able to use it in the future.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8598 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 15415b9467..882845c031 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -5040,7 +5040,7 @@ void read_scroll(int slot) } const bool success = holy_word(pow, HOLY_WORD_SCROLL, you.pos(), - !item_type_known(scroll)); + !item_type_known(scroll), &you); if (!success) { |