mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 09:47:20 +00:00
Two crash fixes reported on the forums are hopefully fixed.
This commit is contained in:
1 parent
925ba2199e
commit
56825e9ed0
10 files changed
+24
-14
No files matched your search
+2
-1
@@ -350,6 +350,7 @@ NPC::NPC(const NPCType* d, Spawn2* in_respawn, float x, float y, float z, float
|
||||
guard_y_saved = 0;
|
||||
guard_z_saved = 0;
|
||||
guard_heading_saved = 0;
|
||||
SetEmoteID(d->emoteid);
|
||||
InitializeBuffSlots();
|
||||
CalcBonuses();
|
||||
}
|
||||
@@ -734,7 +735,7 @@ void NPC::DumpLoot(uint32 npcdump_index, ZSDump_NPC_Loot* npclootdump, uint32* N
|
||||
}
|
||||
|
||||
void NPC::Depop(bool StartSpawnTimer) {
|
||||
uint16 emoteid = this->GetNPCEmoteID();
|
||||
uint16 emoteid = this->GetEmoteID();
|
||||
if(emoteid != 0)
|
||||
this->DoNPCEmote(ONDESPAWN,emoteid);
|
||||
p_depop = true;
|
||||
|
||||
Reference in new issue
Block a user