From dd695c352f27764a0c4f1efee5ee1676678162c2 Mon Sep 17 00:00:00 2001 From: haranp Date: Thu, 26 Apr 2007 15:31:53 +0000 Subject: Made item_def::base_type into object_class_type, instead of unsigned char. Flushed out a few bugs as a result, specifically: 1. Some monsters (e.g., orcs) can now get blowguns as they were intended to (look at the makeitem.cc change); 2. Acquirement will no longer attempt to give you the books of minor magic if you've found them (look at the effects.cc change.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1374 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 577b3afdbf..406078c3b0 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -3226,7 +3226,7 @@ bool monsters_fight(int monster_attacking, int monster_attacked) */ // Returns a value between 0 and 10 representing the weight given to str -int weapon_str_weight( int wpn_class, int wpn_type ) +int weapon_str_weight( object_class_type wpn_class, int wpn_type ) { int ret; -- cgit v1.2.3-54-g00ecf