1
This commit is contained in:
parent
61bdb90974
commit
9c81c17c9a
@ -232,7 +232,8 @@ void Skill::AddMinorMode(
|
||||
|
||||
void Skill::DoMinorMode()
|
||||
{
|
||||
if (GetMinorType() != SMT_NONE) {
|
||||
if (GetMinorType() != SMT_NONE &&
|
||||
GetMinorType() != SMT_DISABLE) {
|
||||
auto old_cb = minor_cb_;
|
||||
minor_cb_ = nullptr;
|
||||
if (!minor_mode_timer_.expired()) {
|
||||
|
@ -9,6 +9,7 @@ enum SkillMinorType
|
||||
{
|
||||
SMT_NONE = 0,
|
||||
SMT_BLINK = 1,
|
||||
SMT_DISABLE = 2,
|
||||
};
|
||||
|
||||
enum SkillMinorAction
|
||||
|
Loading…
x
Reference in New Issue
Block a user