at master 38 lines 1.6 kB view raw
1diff --git a/src/brogue/Architect.c b/src/brogue/Architect.c 2index abe5acf..b38291d 100755 3--- a/src/brogue/Architect.c 4+++ b/src/brogue/Architect.c 5@@ -1676,7 +1676,7 @@ void addMachines() { 6 // Add the amulet holder if it's depth 26: 7 if (rogue.depthLevel == AMULET_LEVEL) { 8 for (failsafe = 50; failsafe; failsafe--) { 9- if (buildAMachine(MT_AMULET_AREA, -1, -1, NULL, NULL, NULL, NULL)) { 10+ if (buildAMachine(MT_AMULET_AREA, -1, -1, 0L, NULL, NULL, NULL)) { 11 break; 12 } 13 } 14diff --git a/src/brogue/RogueMain.c b/src/brogue/RogueMain.c 15index 49b08b9..3666963 100755 16--- a/src/brogue/RogueMain.c 17+++ b/src/brogue/RogueMain.c 18@@ -880,7 +880,7 @@ void startLevel(short oldLevelNumber, short stairDirection) { 19 getQualifyingPathLocNear(&loc[0], &loc[1], 20 player.xLoc, player.yLoc, 21 true, 22- T_DIVIDES_LEVEL, NULL, 23+ T_DIVIDES_LEVEL, 0L, 24 T_PATHING_BLOCKER, (HAS_MONSTER | HAS_ITEM | HAS_STAIRS | IS_IN_MACHINE), 25 false); 26 } 27diff --git a/src/platform/platformdependent.c b/src/platform/platformdependent.c 28index 635a738..e725513 100644 29--- a/src/platform/platformdependent.c 30+++ b/src/platform/platformdependent.c 31@@ -21,6 +21,7 @@ 32 * along with Brogue. If not, see <http://www.gnu.org/licenses/>. 33 */ 34 35+#include <ctype.h> 36 #include <stdio.h> 37 #include <string.h> 38 #include <time.h>