summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/item_use.h
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-31 14:19:08 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-31 14:19:08 +0000
commit5a961b08ca420012d9bdb3b0ef2d184fd5d2816d (patch)
tree631ec91f7ba23b0d89e0ab6ecbe2c64ebbc8719e /crawl-ref/source/item_use.h
parent8f1be2e5a8ba70f6814a370e9297fbd6321d6aa2 (diff)
downloadcrawl-ref-5a961b08ca420012d9bdb3b0ef2d184fd5d2816d.tar.gz
crawl-ref-5a961b08ca420012d9bdb3b0ef2d184fd5d2816d.zip
Nagas no longer get racial weapons [1811726].
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2708 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/item_use.h')
-rw-r--r--crawl-ref/source/item_use.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.h b/crawl-ref/source/item_use.h
index a529e283f1..6a4c4bc41d 100644
--- a/crawl-ref/source/item_use.h
+++ b/crawl-ref/source/item_use.h
@@ -20,6 +20,12 @@
#include "externs.h"
#include "enum.h"
+enum enchant_stat_type
+{
+ ENCHANT_TO_HIT,
+ ENCHANT_TO_DAM
+};
+
enum fire_type
{
FIRE_NONE = 0x0000,
@@ -156,7 +162,7 @@ void use_randart(item_def &item);
bool puton_item(int slot, bool prompt_finger = true);
-bool enchant_weapon( int which_stat, bool quiet = false );
+bool enchant_weapon( enchant_stat_type which_stat, bool quiet = false );
bool throw_it(bolt &pbolt, int throw_2, bool teleport=false, int acc_bonus=0,
dist *target = NULL);