diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-07 23:44:02 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-07 23:44:02 +0000 |
commit | cdd74d0b4618ad1f8f02ee18036283c6c2214b3d (patch) | |
tree | 10aad41074679ccdf7d78a953171482e81bc53a8 /crawl-ref/source/misc.cc | |
parent | f4d7abfdc292ea48cc3fcd1a8c98e0f22abd28f6 (diff) | |
download | crawl-ref-cdd74d0b4618ad1f8f02ee18036283c6c2214b3d.tar.gz crawl-ref-cdd74d0b4618ad1f8f02ee18036283c6c2214b3d.zip |
Actually replace sold out shops with the new feature DNGN_ABANDONED_SHOP.
This makes comparisons much easier and also avoids giving away information
about far away shops being opened/closed. (This was only an issue if
a shop only held blood potions that rotted away, but still.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7775 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index a2f099a45d..7335e90b26 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -1683,6 +1683,8 @@ void up_stairs(dungeon_feature_type force_stair, { if (stair_find == DNGN_STONE_ARCH) mpr("There is nothing on the other side of the stone arch."); + else if (stair_find == DNGN_ABANDONED_SHOP) + mpr("This shop appears to be closed."); else mpr("You can't go up here."); return; |