CWorld::CWorld( ) { CBaseEntity::AttachEdict( INDEXENT(RequiredEdictIndex()) ); SetNextThink( gpGlobals->curtime + 0.05 ); ActivityList_Init(); NetworkStateManualMode( true ); SetSolid( SOLID_BSP ); SetMoveType( MOVETYPE_NONE ); }
CWorld::CWorld( ) { AddEFlags( EFL_NO_AUTO_EDICT_ATTACH | EFL_KEEP_ON_RECREATE_ENTITIES ); NetworkProp()->AttachEdict( INDEXENT(RequiredEdictIndex()) ); ActivityList_Init(); EventList_Init(); SetSolid( SOLID_BSP ); SetMoveType( MOVETYPE_NONE ); m_bColdWorld = false; }
CWorld::CWorld( ) { AddEFlags( EFL_NO_AUTO_EDICT_ATTACH | EFL_KEEP_ON_RECREATE_ENTITIES ); NetworkProp()->AttachEdict( INDEXENT(RequiredEdictIndex()) ); ActivityList_Init(); EventList_Init(); SetSolid( SOLID_BSP ); SetMoveType( MOVETYPE_NONE ); m_bColdWorld = false; // Set this in the constructor for legacy maps (sjb) m_iTimeOfDay = TIME_MIDNIGHT; }