summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/transfor.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-27 11:21:45 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-27 11:21:45 +0000
commit7a5efda30e5d565558b2df4fd7e28db62f757308 (patch)
tree2c7efdbd9aae9a21d7853b022975a7380a591713 /crawl-ref/source/transfor.cc
parent83c4d3f517442b1aa3c09c2be49ee66d850bbd54 (diff)
downloadcrawl-ref-7a5efda30e5d565558b2df4fd7e28db62f757308.tar.gz
crawl-ref-7a5efda30e5d565558b2df4fd7e28db62f757308.zip
Remove now unneeded function.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9255 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/transfor.cc')
-rw-r--r--crawl-ref/source/transfor.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/crawl-ref/source/transfor.cc b/crawl-ref/source/transfor.cc
index c6fbfd6231..b99b6acb69 100644
--- a/crawl-ref/source/transfor.cc
+++ b/crawl-ref/source/transfor.cc
@@ -29,7 +29,6 @@ REVISION("$Rev$");
#include "stuff.h"
#include "traps.h"
-static void _drop_everything();
static void _extra_hp(int amount_extra);
bool transformation_can_wield(transformation_type trans)
@@ -902,23 +901,6 @@ void _extra_hp(int amount_extra) // must also set in calc_hp
deflate_hp(you.hp_max, false);
}
-void _drop_everything()
-{
- if (inv_count() < 1)
- return;
-
- mpr( "You find yourself unable to carry your possessions!" );
-
- for (int i = 0; i < ENDOFPACK; i++)
- {
- if (is_valid_item( you.inv[i] ))
- {
- copy_item_to_grid( you.inv[i], you.pos() );
- you.inv[i].quantity = 0;
- }
- }
-}
-
// Used to mark transformations which override species/mutation intrinsics.
// If phys_scales is true then we're checking to see if the form keeps
// the physical (AC/EV) properties from scales... the special intrinsic