summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index 04f61ad300..20f03622cd 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -82,6 +82,10 @@ struct bolt
// spl-mis.h (values are strictly greater than NON_MONSTER in that case)
// for explosions generated by miscast effects. -cao
int beam_source; // NON_MONSTER or monster index #
+ std::string source_name; // The name of the source, if it
+ // should be different from
+ // actor->name(), or the actor dies
+ // prematurely.
std::string name;
std::string short_name;
std::string hit_verb; // The verb to use when this beam hits