mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-15 12:28:06 +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
|
|
@ -1055,7 +1055,7 @@ void zedit_parse(struct descriptor_data *d, char *arg)
|
|||
case 'D':
|
||||
pos = atoi(arg);
|
||||
/* Count directions. */
|
||||
if (pos < 0 || pos > NUM_OF_DIRS)
|
||||
if (pos < 0 || pos > DIR_COUNT)
|
||||
write_to_output(d, "Try again : ");
|
||||
else {
|
||||
OLC_CMD(d).arg2 = pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue