BecomeActive, Thinking Entities

From The DarkMod Wiki
Revision as of 11:52, 18 November 2007 by Tels (talk | contribs) (mark as checked (the forum post is from last year :-)
Jump to navigationJump to search

Originally written by Ishtvan on http://forums.thedarkmod.com/topic/4146

If you give an entity a new ::Think method, be sure to call BecomeActive( TH_THINK ) in the spawn method, otherwise the ::Think will only get called once and then no more.