summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-15 22:41:10 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-15 23:09:14 +0200
commitdd61c1645c4ec22d3714d76f17eb8aab5f16b6a7 (patch)
treec37c469bfba67c4a6a180397b6ed2f4b80b2bb67 /crawl-ref/source/database.cc
parent1da746427f822e417262572d3d29697189980649 (diff)
downloadcrawl-ref-dd61c1645c4ec22d3714d76f17eb8aab5f16b6a7.tar.gz
crawl-ref-dd61c1645c4ec22d3714d76f17eb8aab5f16b6a7.zip
Evict pizza toppings to the database.
This including being vegetable or not, so different translations can have pepperoni mean different stuff.
Diffstat (limited to 'crawl-ref/source/database.cc')
-rw-r--r--crawl-ref/source/database.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/database.cc b/crawl-ref/source/database.cc
index 5f127a7b11..f2afcad086 100644
--- a/crawl-ref/source/database.cc
+++ b/crawl-ref/source/database.cc
@@ -891,5 +891,8 @@ std::string getMiscString(const std::string &misc,
{
int num_replacements = 0;
- return _getRandomisedStr(MiscDB, misc, suffix, num_replacements);
+ std::string txt = _getRandomisedStr(MiscDB, misc, suffix, num_replacements);
+ _execute_embedded_lua(txt);
+
+ return txt;
}