Commit b7f99548 authored by DailyShana's avatar DailyShana

effect_set_v

parent 4309e375
......@@ -101,6 +101,7 @@ struct effect_set_v {
effect*& at(int index) {
return container[index];
}
private:
std::vector<effect*> container;
int count;
};
......
......@@ -4906,7 +4906,7 @@ int32 field::refresh_location_info(uint16 step) {
return FALSE;
}
case 1: {
if(core.disfield_effects.count == 0) {
if(core.disfield_effects.size() == 0) {
core.units.begin()->step = 2;
return FALSE;
}
......@@ -4940,7 +4940,7 @@ int32 field::refresh_location_info(uint16 step) {
}
case 3: {
// If the blocking number is not reached, we should block more slots.
if(core.extram_effects.count == 0) {
if(core.extram_effects.size() == 0) {
core.units.begin()->step = 4;
return FALSE;
}
......@@ -4980,7 +4980,7 @@ int32 field::refresh_location_info(uint16 step) {
}
case 5: {
// EFFECT_USE_EXTRA_SZONE version
if(core.extras_effects.count == 0) {
if(core.extras_effects.size() == 0) {
core.units.begin()->step = 6;
return FALSE;
}
......
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