summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/initfile.h
diff options
context:
space:
mode:
authorEnne Walker <ennewalker@users.sourceforge.net>2010-02-21 17:37:49 -0500
committerEnne Walker <ennewalker@users.sourceforge.net>2010-02-21 17:54:39 -0500
commitafc5cabb6a6364474601bf0257ed7da04d7da04e (patch)
tree13af320310589b8b44fe2dcecfee7753853c371e /crawl-ref/source/initfile.h
parent5d812b3a48325e4c98a24bd036cba34cb9c9747f (diff)
downloadcrawl-ref-afc5cabb6a6364474601bf0257ed7da04d7da04e.tar.gz
crawl-ref-afc5cabb6a6364474601bf0257ed7da04d7da04e.zip
Regenerate lua cache when executable is rebuilt.
This should fix potential issues like [738], where stale cache files are using the wrong tiles in vaults after a change to the tiledef enums. This is currently only done for tiles builds.
Diffstat (limited to 'crawl-ref/source/initfile.h')
-rw-r--r--crawl-ref/source/initfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/initfile.h b/crawl-ref/source/initfile.h
index 0a39e9db41..e36bf8e046 100644
--- a/crawl-ref/source/initfile.h
+++ b/crawl-ref/source/initfile.h
@@ -47,6 +47,7 @@ public:
std::string morgue_dir;
std::string crawl_base; // Directory from argv[0], may be used to
// locate datafiles.
+ std::string crawl_exe; // File from argv[0].
std::string home; // only used by MULTIUSER systems
bool board_with_nail; // Easter Egg silliness