diff options
author | Adam Borowski <kilobyte@angband.pl> | 2011-10-02 22:55:56 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2011-10-02 22:57:12 +0200 |
commit | f0572bc138fa40f10453e64745df320078ffd2ce (patch) | |
tree | 06f386795dc20042ba1f977472e8970688f7f869 /crawl-ref/source/mapmark.h | |
parent | 7c206facf0c6df8ed4b2b1913b41e2a668bd6a66 (diff) | |
download | crawl-ref-f0572bc138fa40f10453e64745df320078ffd2ce.tar.gz crawl-ref-f0572bc138fa40f10453e64745df320078ffd2ce.zip |
Fix a future crash on phoenix markers (not yet used).
There was a pointer to a place on the stack that lives only as long as the
object's constructor.
Diffstat (limited to 'crawl-ref/source/mapmark.h')
-rw-r--r-- | crawl-ref/source/mapmark.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mapmark.h b/crawl-ref/source/mapmark.h index 384c54bcdf..3b75f8d7b6 100644 --- a/crawl-ref/source/mapmark.h +++ b/crawl-ref/source/mapmark.h @@ -166,7 +166,7 @@ public: int turn_stop; beh_type behaviour; god_type god; - coord_def& corpse_pos; + coord_def corpse_pos; }; // A marker powered by Lua. |