summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/state.h
diff options
context:
space:
mode:
authorJohanna Ploog <j-p-e-g@sourceforge.net>2011-02-11 19:10:16 +0100
committerJohanna Ploog <j-p-e-g@sourceforge.net>2011-02-11 19:10:16 +0100
commit74f7dcd7ca156feb38d3dc3bbccb5ce8314b9dd0 (patch)
tree675e0bb77124a10338cab65cec98533c15fd02b9 /crawl-ref/source/state.h
parent6bfdc35c9ea2e5a3d4566fa2bd032487062849f1 (diff)
downloadcrawl-ref-74f7dcd7ca156feb38d3dc3bbccb5ce8314b9dd0.tar.gz
crawl-ref-74f7dcd7ca156feb38d3dc3bbccb5ce8314b9dd0.zip
Apply galehar's "next map after winning" changes to the tutorial.
Diffstat (limited to 'crawl-ref/source/state.h')
-rw-r--r--crawl-ref/source/state.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/state.h b/crawl-ref/source/state.h
index 33e750bb7b..d865592bf3 100644
--- a/crawl-ref/source/state.h
+++ b/crawl-ref/source/state.h
@@ -181,6 +181,11 @@ public:
static std::string game_type_name_for(game_type gt);
+ inline void mark_last_game_won()
+ {
+ last_game_won = true;
+ }
+
friend class mon_acting;
};