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:
Evan Debenham
2021-08-08 19:51:12 -04:00
parent 65a45d19dc
commit 4b6f487f1b
4 changed files with 13 additions and 5 deletions
@@ -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) {
@@ -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