mirror of
https://github.com/tbamud/tbamud.git
synced 2026-02-27 09:34:09 +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
|
|
@ -47,7 +47,7 @@ int free_strings(void *data, int type)
|
|||
case OASIS_EXI:
|
||||
room = (struct room_data *) data;
|
||||
|
||||
for (i = 0; i < NUM_OF_DIRS; i++) {
|
||||
for (i = 0; i < NUM_OF_DIRS; i++) { /* NUM_OF_DIRS, not DIR_COUNT */
|
||||
if (room->dir_option[i]) {
|
||||
if (room->dir_option[i]->general_description) {
|
||||
free(room->dir_option[i]->general_description);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue