Commit 309955d6 authored by mercury233's avatar mercury233

minor format

parent 7b4309b2
...@@ -18,7 +18,8 @@ class effect; ...@@ -18,7 +18,8 @@ class effect;
bool effect_sort_id(const effect* e1, const effect* e2); bool effect_sort_id(const effect* e1, const effect* e2);
struct effect_set { struct effect_set {
effect_set() : count(0), container{ nullptr } {} effect_set()
: count(0), container{ nullptr } {}
void add_item(effect* peffect) { void add_item(effect* peffect) {
if(count >= 64) return; if(count >= 64) return;
container[count++] = peffect; container[count++] = peffect;
......
...@@ -141,7 +141,7 @@ struct field_info { ...@@ -141,7 +141,7 @@ struct field_info {
uint8 can_shuffle; uint8 can_shuffle;
field_info() 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 { struct lpcost {
int32 count; int32 count;
...@@ -149,7 +149,7 @@ struct lpcost { ...@@ -149,7 +149,7 @@ struct lpcost {
int32 lpstack[8]; int32 lpstack[8];
lpcost() lpcost()
: count(0), amount(0), lpstack{0} {} : count(0), amount(0), lpstack{ 0 } {}
}; };
struct processor_unit { struct processor_unit {
uint16 type; 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