View Single Post
Old 09-27-2009, 10:54 AM   #212
-=*Raz0r*=-
Rookie
 
-=*Raz0r*=-'s Avatar
 
Join Date: Oct 2006
Location: Australia
Posts: 243
There's a potential infinite loop in G_RadiusDamage

Look for..
Code:
		if ( dist >= radius ) {
			continue;
		}
After it, add..
Code:
		if(ent->health <= 0)
			continue;
AFAIK this shouldn't be a problem unless you've added an entity that deals out radius damage and can be destroyed itself.

-=*Raz0r*=- is offline   you may: quote & reply,