void CreatureFrame_All()
{
- IL_EACH(g_damagedbycontents, it.damagedbycontents,
+ //IL_EACH(g_damagedbycontents, it.damagedbycontents,
+ FOREACH_ENTITY_FLOAT(damagedbycontents, true,
{
if (it.move_movetype == MOVETYPE_NOCLIP) continue;
CreatureFrame_Liquids(it);
void WarpZone_PostInitialize_Callback()
{
// create waypoint links for warpzones
- //for(entity e = warpzone_first; e; e = e.warpzone_next)
- for(entity e = NULL; (e = find(e, classname, "trigger_warpzone")); )
+ for(entity e = warpzone_first; e; e = e.warpzone_next)
+ //for(entity e = NULL; (e = find(e, classname, "trigger_warpzone")); )
{
vector src, dst;
src = (e.absmin + e.absmax) * 0.5;