Added diagonal directions, hidden exits flag and bug fixes

This commit is contained in:
JamDog 2010-11-25 16:24:53 +00:00
parent 7531e92f64
commit 5acbfd29eb
33 changed files with 378 additions and 130 deletions

View file

@ -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;