v0.4.0: Removed a bunch of legacy logic

This commit is contained in:
Evan Debenham
2016-05-12 03:43:44 -04:00
parent 96c9ca6de4
commit 3e5db4af17
3 changed files with 4 additions and 64 deletions
@@ -67,7 +67,6 @@ import com.shatteredpixel.shatteredpixeldungeon.levels.features.Door;
import com.shatteredpixel.shatteredpixeldungeon.levels.features.HighGrass;
import com.shatteredpixel.shatteredpixeldungeon.levels.painters.Painter;
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.Trap;
import com.shatteredpixel.shatteredpixeldungeon.levels.traps.WornTrap;
import com.shatteredpixel.shatteredpixeldungeon.mechanics.ShadowCaster;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.plants.BlandfruitBush;
@@ -361,18 +360,6 @@ public abstract class Level implements Bundlable {
}
customTiles.add( vis );
}
//for pre-0.3.1 saves
if (version < 52){
for (int i=0; i < map.length; i++){
if (map[i] == Terrain.INACTIVE_TRAP){
Trap t = new WornTrap().reveal();
t.active = false;
t.pos = i;
traps.put( i, t);
}
}
}
collection = bundle.getCollection( MOBS );
for (Bundlable m : collection) {