* moved getReactionFireWeaponType to item_t
* avoid potential crash
* coding guidelines