This commit is contained in:
aozhiwei 2024-02-27 17:17:51 +08:00
parent eef264dec4
commit f765862cec

View File

@ -17,7 +17,7 @@ void SelectTargetWithSelfPosBuff::Activate()
std::vector<Creature*> targets;
bool include_car = 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();
exclude_passenger = meta->_buff_param8_int_set.find(2) != meta->_buff_param8_int_set.end();
}