summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ouch.cc
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2014-02-07 19:07:46 -0700
committerSteve Melenchuk <smelenchuk@gmail.com>2014-02-07 19:07:46 -0700
commitccdc6b2fd12d4a060a07a1e18b45878e645c94ec (patch)
treecdd632fe26e875a512d27aadd99444775915d091 /crawl-ref/source/ouch.cc
parent1408ae1a8c06c7ac56ea6e459cdad293e6fd52bd (diff)
downloadcrawl-ref-ccdc6b2fd12d4a060a07a1e18b45878e645c94ec.tar.gz
crawl-ref-ccdc6b2fd12d4a060a07a1e18b45878e645c94ec.zip
Fix DGL compilation.
Broken by b36e17b.
Diffstat (limited to 'crawl-ref/source/ouch.cc')
-rw-r--r--crawl-ref/source/ouch.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ouch.cc b/crawl-ref/source/ouch.cc
index 53f4ce7686..383efc962e 100644
--- a/crawl-ref/source/ouch.cc
+++ b/crawl-ref/source/ouch.cc
@@ -1413,7 +1413,7 @@ void _end_game(scorefile_entry &se)
se.get_death_type() == KILLED_BY_LEAVING ? "bailed out"
: "dead";
#ifdef DGL_WHEREIS
- whereis_record(reason);
+ whereis_record(reason.c_str());
#endif
#endif