mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 16:37:45 +00:00
housing yard objects spawn from the db now
This commit is contained in:
parent
e73d9dea0d
commit
68e3f5c3f8
1 changed files with 1 additions and 2 deletions
|
@ -196,8 +196,7 @@ void Sapphire::HousingZone::onPlayerZoneIn( Entity::Player& player )
|
|||
|
||||
auto& objects = m_yardObjects[ isInSubdivision ? 1 : 0 ];
|
||||
|
||||
memcpy( &housingObjectInit->data().object, objects.data() + ( yardObjectSize * yardPacketNum ),
|
||||
yardObjectSize * 100 );
|
||||
memcpy( &housingObjectInit->data().object, objects.data() + ( yardPacketNum * 100 ), yardObjectSize * 100 );
|
||||
|
||||
player.queuePacket( housingObjectInit );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue