From 1ae786a89983b2c5511028e1ef894f5b7504eb04 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Thu, 3 Jul 2008 14:41:49 +0000 Subject: Fix 2005590: Branded darts unbranded when thrown. Thrown darts of ice or flame will correctly be displayed as puffs of frost/flame, will do the appropriate damage both to player and monsters and will be identified when thrown by a monster. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6367 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemprop.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/itemprop.cc') diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc index 88d89636ce..359ba8f0aa 100644 --- a/crawl-ref/source/itemprop.cc +++ b/crawl-ref/source/itemprop.cc @@ -930,7 +930,7 @@ int get_weapon_brand( const item_def &item ) int get_ammo_brand( const item_def &item ) { - // no artefact arrows yet -- bwr + // No artefact arrows yet. -- bwr if (item.base_type != OBJ_MISSILES || is_random_artefact( item )) return (SPMSL_NORMAL); @@ -2042,8 +2042,8 @@ launch_retval is_launched(actor *actor, const item_def *launcher, return (LRET_LAUNCHED); } - return (is_throwable(missile, actor->body_size())? - LRET_THROWN : LRET_FUMBLED); + return (is_throwable(missile, actor->body_size()) ? LRET_THROWN + : LRET_FUMBLED); } bool is_range_weapon_type( weapon_type wtype ) -- cgit v1.2.3-54-g00ecf