mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-23 10:40:13 +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
|
|
@ -433,8 +433,9 @@ SPECIAL(guild_guard)
|
|||
return (FALSE);
|
||||
|
||||
/* find out what direction they are trying to go */
|
||||
for (direction = 0; direction < NUM_OF_DIRS; direction++)
|
||||
if (!strcmp(cmd_info[cmd].command, dirs[direction]))
|
||||
for (direction = 0; direction < DIR_COUNT; direction++)
|
||||
if (!strcmp(cmd_info[cmd].command, dirs[direction]) ||
|
||||
!strcmp(cmd_info[cmd].command, autoexits[direction]))
|
||||
break;
|
||||
|
||||
for (i = 0; guild_info[i].guild_room != NOWHERE; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue