💰 Make Money Sharing Files ➜

Untitled

a guest
Jul 01st, 2026
50 view(s)
Never
NOTE: This is a guest paste. Sign up for a free account to edit, delete, and manage your pastes!
Text 0.75 KB
Raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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