|
From: <dsh...@us...> - 2007-04-01 21:25:49
|
Revision: 1179
http://svn.sourceforge.net/crawl-ref/?rev=1179&view=rev
Author: dshaligram
Date: 2007-04-01 14:25:42 -0700 (Sun, 01 Apr 2007)
Log Message:
-----------
Announce corpse availability only if the corpse is in LOS.
Modified Paths:
--------------
trunk/crawl-ref/source/monstuff.cc
Modified: trunk/crawl-ref/source/monstuff.cc
===================================================================
--- trunk/crawl-ref/source/monstuff.cc 2007-04-01 21:00:28 UTC (rev 1178)
+++ trunk/crawl-ref/source/monstuff.cc 2007-04-01 21:25:42 UTC (rev 1179)
@@ -326,8 +326,8 @@
// Don't care if 'o' is changed, and it shouldn't be (corpses don't stack)
move_item_to_grid( &o, monster->x, monster->y );
- if (you.hunger_state < HS_SATIATED)
- learned_something_new(TUT_MAKE_CHUNKS);
+ if (you.hunger_state < HS_SATIATED && see_grid(monster->x, monster->y))
+ learned_something_new(TUT_MAKE_CHUNKS);
} // end place_monster_corpse()
static void tutorial_inspect_kill()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|