From bb0805856bc392215d02deb107163701357659d5 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Wed, 7 Aug 2019 16:24:21 -0400 Subject: [PATCH] v0.7.4b: fixed level visuals rarely using an old camera --- .../com/shatteredpixel/shatteredpixeldungeon/levels/Level.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java index c44e16016..52cd1e5ea 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/Level.java @@ -471,6 +471,7 @@ public abstract class Level implements Bundlable { visuals = new Group(); } else { visuals.clear(); + visuals.camera = null; } for (int i=0; i < length(); i++) { if (pit[i]) {