mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-28 05:12:17 +00:00
Fixed translocate, dispatch event now returns values properly, embparser now stores errors (what few it has)
This commit is contained in:
1 parent
602b17f0e8
commit
16d3825df4
9 files changed
+188
-90
No files matched your search
@@ -10471,7 +10471,7 @@ void Client::Handle_OP_Translocate(const EQApplicationPacket *app) {
|
||||
int SpellID = PendingTranslocateData.SpellID;
|
||||
int i = parse->EventSpell(EVENT_SPELL_EFFECT_TRANSLOCATE_COMPLETE, nullptr, this, SpellID, 0);
|
||||
|
||||
if(i != 0)
|
||||
if(i == 0)
|
||||
{
|
||||
// If the spell has a translocate to bind effect, AND we are already in the zone the client
|
||||
// is bound in, use the GoToBind method. If we send OP_Translocate in this case, the client moves itself
|
||||
|
||||
Reference in new issue
Block a user