mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 09:17:47 +00:00
Missed a zone conversion
This commit is contained in:
parent
8af39dfeb8
commit
436c04993f
1 changed files with 1 additions and 1 deletions
|
@ -803,7 +803,7 @@ void Territory::updateSpawnPoints()
|
|||
{
|
||||
if( !spawn.bnpcPtr && ( Common::Util::getTimeSeconds() - spawn.timeOfDeath ) > spawn.infoPtr->PopInterval )
|
||||
{
|
||||
auto pBNpc = std::make_shared< Entity::BNpc >( getNextActorId(), spawn.infoPtr, shared_from_this() );
|
||||
auto pBNpc = std::make_shared< Entity::BNpc >( getNextActorId(), spawn.infoPtr, *this );
|
||||
pBNpc->init();
|
||||
spawn.bnpcPtr = pBNpc;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue