mirror of
https://github.com/correl/mage.git
synced 2024-11-24 19:19:56 +00:00
xmage 1.4.26V4
This commit is contained in:
parent
563856434d
commit
2d6bcd83f4
3 changed files with 6 additions and 4 deletions
|
@ -41,7 +41,7 @@ public class MageVersion implements Serializable, Comparable<MageVersion> {
|
||||||
public final static int MAGE_VERSION_MAJOR = 1;
|
public final static int MAGE_VERSION_MAJOR = 1;
|
||||||
public final static int MAGE_VERSION_MINOR = 4;
|
public final static int MAGE_VERSION_MINOR = 4;
|
||||||
public final static int MAGE_VERSION_PATCH = 26;
|
public final static int MAGE_VERSION_PATCH = 26;
|
||||||
public final static String MAGE_VERSION_MINOR_PATCH = "V3";
|
public final static String MAGE_VERSION_MINOR_PATCH = "V4";
|
||||||
public final static String MAGE_VERSION_INFO = "";
|
public final static String MAGE_VERSION_INFO = "";
|
||||||
|
|
||||||
private final int major;
|
private final int major;
|
||||||
|
|
|
@ -1112,8 +1112,10 @@ public class HumanPlayer extends PlayerImpl {
|
||||||
// attack selected default defender
|
// attack selected default defender
|
||||||
declareAttacker(attacker.getId(), attackedDefender, game, false);
|
declareAttacker(attacker.getId(), attackedDefender, game, false);
|
||||||
}
|
}
|
||||||
// } else if (response.getInteger() != null) { // Ok or F-Key
|
} else if (response.getInteger() != null) { // F-Key
|
||||||
|
if (checkIfAttackersValid(game)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
} else if (response.getBoolean() != null) { // ok button
|
} else if (response.getBoolean() != null) { // ok button
|
||||||
if (checkIfAttackersValid(game)) {
|
if (checkIfAttackersValid(game)) {
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -58,7 +58,7 @@ public enum CardRepository {
|
||||||
// raise this if db structure was changed
|
// raise this if db structure was changed
|
||||||
private static final long CARD_DB_VERSION = 51;
|
private static final long CARD_DB_VERSION = 51;
|
||||||
// raise this if new cards were added to the server
|
// raise this if new cards were added to the server
|
||||||
private static final long CARD_CONTENT_VERSION = 90;
|
private static final long CARD_CONTENT_VERSION = 91;
|
||||||
private Dao<CardInfo, Object> cardDao;
|
private Dao<CardInfo, Object> cardDao;
|
||||||
private Set<String> classNames;
|
private Set<String> classNames;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue