How can that possibly work, or compile? The pEnt is defined in _DEBUG
but you assert it in the non-_DEBUG build. Doesn't that throw a warning?
> void CNewGameRules::CreateStandardEntities( void )
> {
> #ifndef CLIENT_DLL
> CGameRules::CreateStandardEntities();
>
> g_pLastCombineSpawn = NULL;
> g_pLastRebelSpawn = NULL;
>
> #ifdef _DEBUG
> CBaseEntity *pEnt =
> #endif
> CBaseEntity::Create( "new_gamerules", vec3_origin, vec3_angle );
> Assert( pEnt );
> #endif
> }
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders