mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-10 06:42:34 +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
|
|
@ -261,7 +261,7 @@ void House_boot(void)
|
|||
if ((real_atrium = real_room(temp_house.atrium)) == NOWHERE)
|
||||
continue; /* house doesn't have an atrium -- skip */
|
||||
|
||||
if (temp_house.exit_num < 0 || temp_house.exit_num >= NUM_OF_DIRS)
|
||||
if (temp_house.exit_num < 0 || temp_house.exit_num >= DIR_COUNT)
|
||||
continue; /* invalid exit num -- skip */
|
||||
|
||||
if (TOROOM(real_house, temp_house.exit_num) != real_atrium)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue