summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crawl-ref/source/player.cc5
-rw-r--r--crawl-ref/source/player.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 32d5fdc4e2..5b3ccc4ce7 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -1001,11 +1001,6 @@ bool player_equip_unrand(int unrand_index)
return (false);
}
-int player_damage_type(void)
-{
- return (you.damage_type());
-}
-
// Given an adjacent monster, returns true if the player can hit it (the
// monster should not be submerged, or be submerged in shallow water if
// the player has a polearm).
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index 68cb1732cb..55894921f0 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -566,7 +566,6 @@ bool berserk_check_wielded_weapon(void);
int player_equip( equipment_type slot, int sub_type, bool calc_unid = true );
int player_equip_ego_type( int slot, int sub_type );
bool player_equip_unrand( int unrand_index );
-int player_damage_type(void);
bool player_can_hit_monster(const monsters *mon);
bool player_is_shapechanged(void);