mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 07:18:37 +00:00
[Quest API] Add GetSpawn() to Perl and Lua (#4702)
* [Quest API] Add GetSpawn() to Perl and Lua * Push * Update npc.h
This commit is contained in:
+1
-4
@@ -2751,10 +2751,7 @@ void NPC::LevelScale() {
|
||||
|
||||
uint32 NPC::GetSpawnPointID() const
|
||||
{
|
||||
if (respawn2) {
|
||||
return respawn2->GetID();
|
||||
}
|
||||
return 0;
|
||||
return respawn2 ? respawn2->GetID() : 0;
|
||||
}
|
||||
|
||||
void NPC::NPCSlotTexture(uint8 slot, uint32 texture)
|
||||
|
||||
Reference in New Issue
Block a user