This commit is contained in:
aozhiwei 2021-07-30 07:22:22 +00:00
parent 256577b74b
commit bad1ecf78a

View File

@ -295,7 +295,7 @@ void Trigger::TryAddBuffs(int cond, std::vector<int>& buffids)
#ifdef DEBUG #ifdef DEBUG
owner_->MustBeAddBuff(owner_, buffid); owner_->MustBeAddBuff(owner_, buffid);
#else #else
owner_->TryBeAddBuff(owner_, buffid); owner_->TryAddBuff(owner_, buffid);
#endif #endif
} }
} }
@ -307,7 +307,7 @@ void Trigger::AddBuffs(int cond, std::vector<int>& buffids)
#ifdef DEBUG #ifdef DEBUG
owner_->MustBeAddBuff(owner_, buffid); owner_->MustBeAddBuff(owner_, buffid);
#else #else
owner_->TryBeAddBuff(owner_, buffid); owner_->TryAddBuff(owner_, buffid);
#endif #endif
} }
} }