From 7a5efda30e5d565558b2df4fd7e28db62f757308 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Fri, 27 Feb 2009 11:21:45 +0000 Subject: Remove now unneeded function. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9255 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/transfor.cc | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'crawl-ref/source/transfor.cc') 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 -- cgit v1.2.3-54-g00ecf