diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-30 19:44:18 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-30 19:44:18 +0000 |
commit | 1ddd66869baba3b2f47d0aca8e7810a8ed05b036 (patch) | |
tree | edd352592a2bc354911b0b3f9ffb1480124b6370 /crawl-ref/source/tutorial.cc | |
parent | d121c007bb2bb4b60d6b8299f87ea0b73036e1dc (diff) | |
download | crawl-ref-1ddd66869baba3b2f47d0aca8e7810a8ed05b036.tar.gz crawl-ref-1ddd66869baba3b2f47d0aca8e7810a8ed05b036.zip |
Autopickup freshly bottled blood potions.
Also, call autopickup() after a delayed weapon swap (presumably because
we butchered/bottled one or more corpses before), so we can pick up
all chunks/potions at the same time.
Note that Vampires won't autopickup chunks, but autopickup will at least
list stuff on the floor, which is also nice to have.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5347 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tutorial.cc')
-rw-r--r-- | crawl-ref/source/tutorial.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/crawl-ref/source/tutorial.cc b/crawl-ref/source/tutorial.cc index 04360d9061..2afeaf60b3 100644 --- a/crawl-ref/source/tutorial.cc +++ b/crawl-ref/source/tutorial.cc @@ -1733,8 +1733,6 @@ void learned_something_new(tutorial_event_type seen_what, int x, int y) text << "Ah, a corpse!"; else { - const item_def& item(mitm[i]); - text << "That "; #ifndef USE_TILE unsigned short col; @@ -1744,7 +1742,6 @@ void learned_something_new(tutorial_event_type seen_what, int x, int y) text << " "; #else // Highlight item (if it works). - const coord_def ep = grid2view(coord_def(item.x, item.y)); tile_place_cursor(ep.x-1,ep.y-1,true); #endif @@ -2480,7 +2477,7 @@ void learned_something_new(tutorial_event_type seen_what, int x, int y) } text << ". "; - text << "If your piety goes to zero, then you'll be excomunicated. " + text << "If your piety goes to zero, then you'll be excommunicated. " "Better get cracking on raising your piety, and/or stop " "annoying your god."; break; |