diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/Room.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/Room.java index ca19e8b9b..0e4ce5720 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/Room.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/rooms/Room.java @@ -139,8 +139,8 @@ public class Room extends Rect implements Graph.Node, Bundlable { } public Point random( int m ) { - return new Point( Random.Int( left + m, right - m ), - Random.Int( top + m, bottom - m )); + return new Point( Random.IntRange( left + m, right - m ), + Random.IntRange( top + m, bottom - m )); } public boolean inside( Point p ) {