void CreatureFrame_All()
{
- FOREACH_ENTITY_FLOAT(damagedbycontents, true, {
+ IL_EACH(g_damagedbycontents, it.damagedbycontents,
+ {
if (it.move_movetype == MOVETYPE_NOCLIP) continue;
CreatureFrame_Liquids(it);
CreatureFrame_FallDamage(it);
CreatureFrame_All();
CheckRules_World();
- if (warmup_stage && !gameover && warmup_limit > 0 && time >= warmup_limit) {
+ if (warmup_stage && !game_stopped && warmup_limit > 0 && time >= warmup_limit) {
ReadyRestart();
return;
}
void WarpZone_PostInitialize_Callback()
{
// create waypoint links for warpzones
- entity e;
- for(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;