Commit 309955d6 authored by mercury233's avatar mercury233

minor format

parent 7b4309b2
......@@ -18,7 +18,8 @@ class effect;
bool effect_sort_id(const effect* e1, const effect* e2);
struct effect_set {
effect_set() : count(0), container{ nullptr } {}
effect_set()
: count(0), container{ nullptr } {}
void add_item(effect* peffect) {
if(count >= 64) return;
container[count++] = peffect;
......
......@@ -141,7 +141,7 @@ struct field_info {
uint8 can_shuffle;
field_info()
: field_id(0), copy_id(0), turn_id(0), turn_id_by_player{0}, card_id(0), phase(0), turn_player(0), priorities{0}, can_shuffle(TRUE) {}
: field_id(0), copy_id(0), turn_id(0), turn_id_by_player{ 0 }, card_id(0), phase(0), turn_player(0), priorities{ 0 }, can_shuffle(TRUE) {}
};
struct lpcost {
int32 count;
......@@ -149,7 +149,7 @@ struct lpcost {
int32 lpstack[8];
lpcost()
: count(0), amount(0), lpstack{0} {}
: count(0), amount(0), lpstack{ 0 } {}
};
struct processor_unit {
uint16 type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment