Core/Misc: fix warning and misc codestyle fixes
This commit is contained in:
1 parent
28fb22b108
commit
3b90b0368a
7 files changed
+10
-10
No files matched your search
@@ -15818,7 +15818,7 @@ void Unit::SetFeared(bool apply)
|
||||
}
|
||||
|
||||
if (Player* player = ToPlayer())
|
||||
if(!player->HasUnitState(UNIT_STATE_POSSESSED))
|
||||
if (!player->HasUnitState(UNIT_STATE_POSSESSED))
|
||||
player->SetClientControl(this, !apply);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user