View Single Post
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 09-15-2017 , 16:46   Re: Optimization - Global variables vs natives
Reply With Quote #17

Yeah it's Prop_Data for m_nNextThinkTick.

I'm looking https://github.com/ValveSoftware/sou...hared.cpp#L733 to understand how Think() works.

It looks like I need to call CBaseEntity::RegisterThinkContext() then CBaseEntity::ThinkSet(), certainly with an extension..

It's weird that the default Think() isn't registered.
__________________
micapat is offline