mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-17 14:52:25 +00:00
Fix potential crash in Sacrifice
This commit is contained in:
parent
00cfe2d25f
commit
ef3cf099b8
@ -3729,10 +3729,10 @@ void Client::Sacrifice(Client *caster)
|
||||
}
|
||||
Save();
|
||||
GoToDeath();
|
||||
if (caster) // I guess it's possible?
|
||||
caster->SummonItem(RuleI(Spells, SacrificeItemID));
|
||||
}
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
caster->Message_StringID(13, SAC_TOO_LOW); // This being is not a worthy sacrifice.
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user