remove #ifdefs in dungeon.c