Core/Misc: fix warning and misc codestyle fixes

This commit is contained in:
MitchesD committed 2015-11-26 19:28:53 +01:00
1 parent 28fb22b108
commit 3b90b0368a
7 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -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);
}