mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-01-23 20:05:29 +01:00
Merge branch 'permadeath' into nut_arulir_mountain
# Conflicts: # AndorsTrail/src/com/gpl/rpg/AndorsTrail/AndorsTrailApplication.java
This commit is contained in:
@@ -184,7 +184,7 @@ public final class GameStatistics {
|
||||
}
|
||||
this.spentGold = src.readInt();
|
||||
|
||||
if (fileversion < 48) return;
|
||||
if (fileversion < 49) return;
|
||||
|
||||
this.startLives = src.readInt();
|
||||
this.unlimitedSaves = src.readBoolean();
|
||||
|
||||
@@ -369,7 +369,7 @@ public final class Player extends Actor {
|
||||
}
|
||||
}
|
||||
|
||||
if (fileversion >= 48) {
|
||||
if (fileversion >= 49) {
|
||||
this.id = src.readUTF();
|
||||
this.savedVersion = src.readLong();
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ public final class Savegames {
|
||||
this.iconID = TileManager.CHAR_HERO_0;
|
||||
}
|
||||
|
||||
if (fileversion >= 48) {
|
||||
if (fileversion >= 49) {
|
||||
this.isDead = src.readBoolean();
|
||||
this.hasUnlimitedSaves = src.readBoolean();
|
||||
this.playerId = src.readUTF();
|
||||
|
||||
Reference in New Issue
Block a user