- More changes related to supporting negative power and toughness, please test to see this doesn't break anything.

- Fixed some visualization issues in the deck editor related to supporting negative P/T (e.g. non-creatures showing up as P/T 2 billion+ / 2 billion+).
This commit is contained in:
Agetian
2016-10-09 12:05:55 +00:00
parent 401dba1596
commit 2cd7016703
7 changed files with 18 additions and 16 deletions

View File

@@ -236,7 +236,7 @@ public class GameCopier {
int setPower = c.getSetPower();
int setToughness = c.getSetToughness();
if (setPower != -1 || setToughness != -1) {
if (setPower != Integer.MAX_VALUE || setToughness != Integer.MAX_VALUE) {
// TODO: Copy the full list with timestamps.
newCard.addNewPT(setPower, setToughness, newGame.getNextTimestamp());
}