From 5d27773ad8398d0b9b32974360ad3cb2c3170806 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Tue, 13 Oct 2009 06:21:48 -0700 Subject: unit tests: fix crash when running unit tests under a tiles build Signed-off-by: Steven Noonan --- crawl-ref/source/acr.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/acr.cc') diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc index b7071a0783..bc615905ce 100644 --- a/crawl-ref/source/acr.cc +++ b/crawl-ref/source/acr.cc @@ -3508,6 +3508,10 @@ static bool _initialise(void) if (crawl_state.test) { #ifdef DEBUG_DIAGNOSTICS +#ifdef USE_TILE + init_player_doll(); + tiles.initialise_items(); +#endif Options.show_more_prompt = false; crawl_tests::run_tests(true); // Superfluous, just to make it clear that this is the end of -- cgit v1.2.3-54-g00ecf