diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2014-04-28 15:55:58 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2014-05-07 18:23:26 -0600 |
commit | deb4de3a7a4bf8a603442e3d7d6572eb8b2e91b9 (patch) | |
tree | c28e2e35aeb564be650e35181c6b83c25da3d476 /crawl-ref/source/map_knowledge.h | |
parent | 501de5b581ac485a95f908ce657aafac33552644 (diff) | |
download | crawl-ref-deb4de3a7a4bf8a603442e3d7d6572eb8b2e91b9.tar.gz crawl-ref-deb4de3a7a4bf8a603442e3d7d6572eb8b2e91b9.zip |
Allow Qazlalites to displace their own clouds.
Should address some of the residual autoexplore issues.
Diffstat (limited to 'crawl-ref/source/map_knowledge.h')
-rw-r--r-- | crawl-ref/source/map_knowledge.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/map_knowledge.h b/crawl-ref/source/map_knowledge.h index 4be37f4005..87b08adea6 100644 --- a/crawl-ref/source/map_knowledge.h +++ b/crawl-ref/source/map_knowledge.h @@ -6,12 +6,14 @@ struct cloud_info { - cloud_info() : type(CLOUD_NONE), colour(0), duration(3), tile(0), pos(0, 0) + cloud_info() : type(CLOUD_NONE), colour(0), duration(3), tile(0), pos(0, 0), + killer(KILL_NONE) { } cloud_info(cloud_type t, colour_t c, - uint8_t dur, unsigned short til, coord_def gc) - : type(t), colour(c), duration(dur), tile(til), pos(gc) + uint8_t dur, unsigned short til, coord_def gc, + killer_type kill) + : type(t), colour(c), duration(dur), tile(til), pos(gc), killer(kill) { } cloud_type type:8; @@ -19,6 +21,7 @@ struct cloud_info uint8_t duration; // decay/20, clamped to 0-3 unsigned short tile; coord_def pos; + killer_type killer; }; #define MAP_MAGIC_MAPPED_FLAG 0x01 |