mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 05:57:45 +00:00
Pretty sure that was not supposed to be a cast
This commit is contained in:
parent
9b8df412f3
commit
d59e958d89
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ void Zone::pushActor( Entity::ActorPtr pActor )
|
|||
pBNpc->setPosition( pBNpc->getPos() );
|
||||
|
||||
}
|
||||
else if( pActor->getAsEventNpc() )
|
||||
else if( pActor->isEventNpc() )
|
||||
{
|
||||
Entity::EventNpcPtr pENpc = pActor->getAsEventNpc();
|
||||
m_EventNpcMap[pENpc->getId()] = pENpc;
|
||||
|
|
Loading…
Add table
Reference in a new issue