mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Switched to a new coding style, which plays nicely with the Reader/Writer. This new style allows REFLECT to be used instead of REFLECT_N in most places.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@15 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+2
-2
@@ -22,11 +22,11 @@ Card::Card() {
|
||||
if (!game_for_new_cards()) {
|
||||
throw InternalError(_("game_for_new_cards not set"));
|
||||
}
|
||||
data.init(game_for_new_cards()->cardFields);
|
||||
data.init(game_for_new_cards()->card_fields);
|
||||
}
|
||||
|
||||
Card::Card(const Game& game) {
|
||||
data.init(game.cardFields);
|
||||
data.init(game.card_fields);
|
||||
}
|
||||
|
||||
String Card::identification() const {
|
||||
|
||||
Reference in New Issue
Block a user