Merged changes from trunk to GuiRefactoring: 27198-27235 (mobile and android projects)

This commit is contained in:
elcnesh
2014-09-07 09:50:18 +00:00
parent 5925c35486
commit 7bc8bf6c9c
4 changed files with 4 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
<packaging.type>jar</packaging.type>
<build.min.memory>-Xms128m</build.min.memory>
<build.max.memory>-Xmx2048m</build.max.memory>
<alpha-version>1.5.26.003</alpha-version>
<alpha-version>1.5.26.004</alpha-version>
</properties>
<parent>

View File

@@ -37,7 +37,7 @@ import forge.util.FileUtil;
import forge.util.Utils;
public class Forge implements ApplicationListener {
public static final String CURRENT_VERSION = "1.5.26.003";
public static final String CURRENT_VERSION = "1.5.26.004";
private static final ApplicationListener app = new Forge();
private static Clipboard clipboard;

View File

@@ -255,8 +255,7 @@ public class CardImageRenderer {
g.drawImage(image, x + (w - iconSize) / 2, y + (h - iconSize) / 2, iconSize, iconSize);
}
else {
if (card.getRules() == null) { return; } //this can happen with certain tokens
String text = card.getRules().getOracleText();
String text = card.getOracleText();
if (StringUtils.isEmpty(text)) { return; }
text = text.replace("\\n", "\n"); //replace new line placeholders with actual new line characters

View File

@@ -216,10 +216,7 @@ public class FControl {
Player p = getCurrentPlayer();
if (p != null) {
p.getController().autoPassUntil(PhaseType.CLEANUP);
if (!inputProxy.passPriority()) {
p.getController().autoPassCancel();
}
inputProxy.passPriority(p, PhaseType.CLEANUP);
}
}