mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-07 19:27:45 +00:00
Correctly initialize m_targetId in Chara
This commit is contained in:
parent
ac9845f827
commit
9292ee94f5
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ using namespace Core::Network::Packets::Server;
|
|||
using namespace Core::Network::ActorControl;
|
||||
|
||||
Core::Entity::Chara::Chara( ObjKind type ) :
|
||||
Actor( type )
|
||||
Actor( type ),
|
||||
m_targetId( INVALID_GAME_OBJECT_ID )
|
||||
{
|
||||
// initialize the free slot queue
|
||||
for( uint8_t i = 0; i < MAX_STATUS_EFFECTS; i++ )
|
||||
|
|
Loading…
Add table
Reference in a new issue