* Contributed by Alander.
void do_visible( CHAR_DATA * ch, char *argument )
affect_strip( ch, gsn_invis );
affect_strip( ch, gsn_mass_invis );
affect_strip( ch, gsn_sneak );
REMOVE_BIT( ch->affected_by, AFF_HIDE );
if( ch->race != RACE_DEFEL ) /* Defel has perm invis */
REMOVE_BIT( ch->affected_by, AFF_INVISIBLE );
if( ch->race != RACE_NOGHRI ) /* Noghri has perm sneak */
REMOVE_BIT( ch->affected_by, AFF_SNEAK );
send_to_char( "Ok.\n\r", ch );
Add right below affect_strip( ch, gsn_sneak );:
affect_strip( ch, gsn_hide );
Minor cosmetic bug. The command does remove AFF_HIDE, so the character isn't hidden, but it doesn't strip it from the list of affects. Adding affect_strip on hide removes it from the list of affects so it doesn't stay there despite the fact that the character isn't hidden.