mirror of
https://github.com/tbamud/tbamud.git
synced 2026-04-05 03:47:20 +02:00
Rename classes
This commit is contained in:
parent
cb59bf0315
commit
05a2dfce9f
14 changed files with 146 additions and 126 deletions
|
|
@ -219,7 +219,7 @@ static void auto_equip(struct char_data *ch, struct obj_data *obj, int location)
|
|||
case WEAR_HOLD:
|
||||
if (CAN_WEAR(obj, ITEM_WEAR_HOLD))
|
||||
break;
|
||||
if (IS_WARRIOR(ch) && CAN_WEAR(obj, ITEM_WEAR_WIELD) && GET_OBJ_TYPE(obj) == ITEM_WEAPON)
|
||||
if (IS_FIGHTER(ch) && CAN_WEAR(obj, ITEM_WEAR_WIELD) && GET_OBJ_TYPE(obj) == ITEM_WEAPON)
|
||||
break;
|
||||
location = LOC_INVENTORY;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue