v0.2.3d: further tweaks, now actually fixes blacksmith bug

This commit is contained in:
Evan Debenham
2015-01-14 23:16:13 -05:00
parent 58c3317b72
commit e4ea5685ba
4 changed files with 13 additions and 6 deletions
@@ -148,7 +148,8 @@ public abstract class RegularLevel extends Level {
//sorry warden, no lucky sungrass or blandfruit seeds for you!
specials.remove( Room.Type.GARDEN );
}
assignRoomType();
if (!assignRoomType())
return false;
paint();
paintWater();
@@ -178,7 +179,7 @@ public abstract class RegularLevel extends Level {
return true;
}
protected void assignRoomType() {
protected boolean assignRoomType() {
int specialRooms = 0;
@@ -266,6 +267,8 @@ public abstract class RegularLevel extends Level {
count++;
}
}
return true;
}
protected void paintWater() {