v0.9.4: various bugfixes
- crash on Android text input - crash on stone of clairvoyance - bags not working with a full inventory - missing vfx on wandmaker
This commit is contained in:
@@ -187,10 +187,6 @@ public class Item implements Bundlable {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!container.canHold(this)){
|
||||
return false;
|
||||
}
|
||||
|
||||
ArrayList<Item> items = container.items;
|
||||
|
||||
if (items.contains( this )) {
|
||||
@@ -204,6 +200,10 @@ public class Item implements Bundlable {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!container.canHold(this)){
|
||||
return false;
|
||||
}
|
||||
|
||||
if (stackable) {
|
||||
for (Item item:items) {
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ import com.shatteredpixel.shatteredpixeldungeon.utils.BArray;
|
||||
//based on: http://www.roguebasin.com/index.php?title=FOV_using_recursive_shadowcasting
|
||||
public final class ShadowCaster {
|
||||
|
||||
public static final int MAX_DISTANCE = 14;
|
||||
public static final int MAX_DISTANCE = 20;
|
||||
|
||||
//max length of rows as FOV moves out, for each FOV distance
|
||||
//This is used to make the overall FOV circular, instead of square
|
||||
|
||||
Reference in New Issue
Block a user