From 5e4363aeaf2796ee28133734fe1729aceb311fe4 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Mon, 16 Nov 2009 21:30:46 +0100 Subject: Fix error in show coordinate calculation in tutorial. This was causing the wrong features to be displayed. Now uses grid2show instead of magic numbers. --- crawl-ref/source/tutorial.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index b7ab40b522..ed4dc30027 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -1678,7 +1678,7 @@ void learned_something_new(tutorial_event_type seen_what, coord_def gc) std::ostringstream text; #ifndef USE_TILE - const coord_def e = gc - you.pos() + coord_def(9,9); + const coord_def e = grid2show(gc); #endif Options.tut_just_triggered = true; -- cgit v1.2.3-54-g00ecf