Fixed MEDIT_SEX, typos, socials, and added char_from_furniture check --Rumble

This commit is contained in:
Rumble 2009-07-26 21:16:20 +00:00
parent b3f404c29c
commit f9f356823f
7 changed files with 44 additions and 21 deletions

View file

@ -387,6 +387,8 @@ void char_from_room(struct char_data *ch)
if (FIGHTING(ch) != NULL)
stop_fighting(ch);
char_from_furniture(ch);
if (GET_EQ(ch, WEAR_LIGHT) != NULL)
if (GET_OBJ_TYPE(GET_EQ(ch, WEAR_LIGHT)) == ITEM_LIGHT)
if (GET_OBJ_VAL(GET_EQ(ch, WEAR_LIGHT), 2)) /* Light is ON */