d *= 0.75;
r *= 0.85;
t = toast(actor, t, r, d);
- if (t == world) break;
+ if (t == NULL) break;
}
entity toast(entity actor, entity from, float range, float damage)
{
entity e;
- entity etarget = world;
+ entity etarget = NULL;
float d,dd;
float r;