class CFuncViewInsert find in m_me->ViewInsert(ent); try find #ifdef ENTITY_OPTIMIZED_FIX if (m_me->IsType(ENTITY_ITEM)) { LPCHARACTER ch_ent = (LPCHARACTER)ent; if (ent->IsType(ENTITY_CHARACTER) && ch_ent->IsPC()) { m_me->ViewInsert(ent); } } #endif else { m_me->ViewInsert(ent); } #else m_me->ViewInsert(ent); #endif change if (chMe->IsPC() && !chEnt->IsPC() && !chEnt->IsWarp() && !chEnt->IsGoto()) chEnt->StartStateMachine(); find if (chMe->IsPC() && !chEnt->IsPC() && !chEnt->IsWarp() && !chEnt->IsGoto()) { #ifdef ENTITY_OPTIMIZED_FIX if (!chEnt->IsDead()) { chEnt->StartStateMachine(); } #else chEnt->StartStateMachine(); #endif } change