From 9a160b380b94ce9b89c93214fe7b9de3f36ed01f Mon Sep 17 00:00:00 2001 From: haranp Date: Tue, 22 Jul 2008 20:21:15 +0000 Subject: Massive change from using x and y to using coord_defs(). Not quite tested, most likely broken in some places and might break tiles. Will fix in the near future. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6636 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/tutorial.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/tutorial.cc') diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 0da644b00b..2d6cae2aa4 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -1203,7 +1203,7 @@ void tutorial_first_monster(const monsters &mon) // (highlighting is an unnecessary complication). if (_mons_is_highlighted(&mon)) { - noisy(1, mon.x, mon.y); + noisy(1, mon.pos()); viewwindow(true, false); } @@ -1938,7 +1938,7 @@ void learned_something_new(tutorial_event_type seen_what, int x, int y) case TUT_SEEN_SHOP: #ifdef USE_TILE tiles.place_cursor(CURSOR_TUTORIAL, gc); - tiles.add_text_tag(TAG_TUTORIAL, shop_name(gc.x, gc.y), gc); + tiles.add_text_tag(TAG_TUTORIAL, shop_name(gc), gc); #endif text << "That " #ifndef USE_TILE -- cgit v1.2.3-54-g00ecf