mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-15 04:18:07 +01:00
Added diagonal directions, hidden exits flag and bug fixes
This commit is contained in:
parent
7531e92f64
commit
5acbfd29eb
33 changed files with 378 additions and 130 deletions
|
|
@ -111,7 +111,11 @@ static void perform_tell(struct char_data *ch, struct char_data *vict, char *arg
|
|||
|
||||
static int is_tell_ok(struct char_data *ch, struct char_data *vict)
|
||||
{
|
||||
if (ch == vict)
|
||||
if (!ch)
|
||||
log("SYSERR: is_tell_ok called with no characters");
|
||||
else if (!vict)
|
||||
send_to_char(ch, "%s", CONFIG_NOPERSON);
|
||||
else if (ch == vict)
|
||||
send_to_char(ch, "You try to tell yourself something.\r\n");
|
||||
else if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_NOTELL))
|
||||
send_to_char(ch, "You can't tell other people while you have notell on.\r\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue