Misc cleanups

This commit is contained in:
hondacrx
2021-03-04 11:47:12 -05:00
parent 102034a891
commit 64bafe8d73
4 changed files with 14 additions and 13 deletions
+1 -1
View File
@@ -1112,7 +1112,7 @@ namespace Game.Entities
damage /= (uint)victim.GetHealthMultiplierForTarget(this);
if (victim.GetTypeId() != TypeId.Player && !victim.IsControlledByPlayer() || victim.IsVehicle())
if (victim.GetTypeId() != TypeId.Player && (!victim.IsControlledByPlayer() || victim.IsVehicle()))
{
if (!victim.ToCreature().HasLootRecipient())
victim.ToCreature().SetLootRecipient(this);