1
This commit is contained in:
parent
a1730c94cb
commit
5ecce5e9d9
@ -48,6 +48,13 @@ void HideBuff::Activate()
|
|||||||
|
|
||||||
void HideBuff::Deactivate()
|
void HideBuff::Deactivate()
|
||||||
{
|
{
|
||||||
|
for (auto& pair : alert_buff_hash_) {
|
||||||
|
auto& tuple = pair.second;
|
||||||
|
if (std::get<0>(tuple).Get()) {
|
||||||
|
std::get<0>(tuple).Get()->RemoveBuffByUniId(std::get<3>(tuple));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
alert_buff_hash_.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HideBuff::AddInRangeObject(Creature* target)
|
void HideBuff::AddInRangeObject(Creature* target)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user