diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-18 19:19:21 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-08-18 19:19:21 +0000 |
commit | 2380cbb78d346fa9413c739eeaf20e3171b04221 (patch) | |
tree | 76fbad894e146ddffd6015a300da8460679044f5 /crawl-ref/source/mapmark.h | |
parent | 31998f2e74c5d677c4880447131a45ef7d4abc73 (diff) | |
download | crawl-ref-2380cbb78d346fa9413c739eeaf20e3171b04221.tar.gz crawl-ref-2380cbb78d346fa9413c739eeaf20e3171b04221.zip |
Fixed crash when using travel to waypoint or Lugonu's Corruption on a level
with a Lua marker.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2016 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapmark.h')
-rw-r--r-- | crawl-ref/source/mapmark.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mapmark.h b/crawl-ref/source/mapmark.h index af4c40e536..79099c5842 100644 --- a/crawl-ref/source/mapmark.h +++ b/crawl-ref/source/mapmark.h @@ -18,7 +18,7 @@ public: map_marker_type get_type() const { return type; } virtual map_marker *clone() const = 0; - virtual void activate(); + virtual void activate(bool verbose = true); virtual void write(tagHeader &) const; virtual void read(tagHeader &); virtual std::string debug_describe() const = 0; @@ -86,7 +86,7 @@ public: map_lua_marker(const std::string &s, const std::string &ctx); ~map_lua_marker(); - void activate(); + void activate(bool verbose); void write(tagHeader &) const; void read(tagHeader &); |