diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 21:30:46 +0100 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-11-16 21:30:46 +0100 |
commit | 5e4363aeaf2796ee28133734fe1729aceb311fe4 (patch) | |
tree | 4da506959d6dd92aa0549403e0541d5f52443a6f /crawl-ref/source/tutorial.cc | |
parent | 44e7c9eb4c8ff258530794486c618520af14d279 (diff) | |
download | crawl-ref-5e4363aeaf2796ee28133734fe1729aceb311fe4.tar.gz crawl-ref-5e4363aeaf2796ee28133734fe1729aceb311fe4.zip |
Fix error in show coordinate calculation in tutorial.
This was causing the wrong features to be displayed. Now
uses grid2show instead of magic numbers.
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |