diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 23:41:10 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-31 23:41:10 +0000 |
commit | 6e01ad4051e824734f3ac60ed6ad3c414e70a9fe (patch) | |
tree | 136b145162540f806063a7ec4d1ed547320451ea /crawl-ref/source/mon-spll.h | |
parent | d752c86b835ebb44452f869e772b3071371d800a (diff) | |
download | crawl-ref-6e01ad4051e824734f3ac60ed6ad3c414e70a9fe.tar.gz crawl-ref-6e01ad4051e824734f3ac60ed6ad3c414e70a9fe.zip |
Fix bug #2477792: caused by recycling the bolt instance "beem" inside
of the loop in _handle_monster_move() without reseting it between
iterations; now uses a fresh instance on each iteration. Also
the loop in _handle_spell() saves and restores the beem object on
each of its internal iterations, just in case any of the called
functions alters it.
Initialize the bolt member affects_items to false.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8066 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mon-spll.h')
0 files changed, 0 insertions, 0 deletions