1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-28 07:07:45 +00:00

move m_bonusStats to std::array and zero it out on init

This commit is contained in:
NotAdam 2019-03-25 21:46:58 +11:00
parent abb4220409
commit 4b8b58a1a2

View file

@ -43,6 +43,8 @@ Sapphire::Entity::Chara::Chara( ObjKind type, FrameworkPtr pFw ) :
m_lastTickTime = 0;
m_lastUpdate = 0;
m_bonusStats.fill( 0 );
// initialize the free slot queue
for( uint8_t i = 0; i < MAX_STATUS_EFFECTS; i++ )
{