1
This commit is contained in:
parent
eef264dec4
commit
f765862cec
@ -17,7 +17,7 @@ void SelectTargetWithSelfPosBuff::Activate()
|
|||||||
std::vector<Creature*> targets;
|
std::vector<Creature*> targets;
|
||||||
bool include_car = false;
|
bool include_car = false;
|
||||||
bool exclude_passenger = false;
|
bool exclude_passenger = false;
|
||||||
if (meta->_buff_param8_int_set.empty()) {
|
if (!meta->_buff_param8_int_set.empty()) {
|
||||||
include_car = meta->_buff_param8_int_set.find(1) != meta->_buff_param8_int_set.end();
|
include_car = meta->_buff_param8_int_set.find(1) != meta->_buff_param8_int_set.end();
|
||||||
exclude_passenger = meta->_buff_param8_int_set.find(2) != meta->_buff_param8_int_set.end();
|
exclude_passenger = meta->_buff_param8_int_set.find(2) != meta->_buff_param8_int_set.end();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user