Check the bounding box you are sending it. It doesn't clamp to the world bounds and will loop for a long time if you send it invalid bounds.
> -----Original Message----- > From: hlcoders-boun...@list.valvesoftware.com > [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of > Tony Sergi > Sent: Wednesday, March 18, 2009 2:44 AM > To: Discussion of Half-Life Programming > Subject: Re: [hlcoders] UTIL_EntitiesInBox cause a game to freeze. > > Post the code that uses it. > > > -Tony > > -----Original Message----- > From: hlcoders-boun...@list.valvesoftware.com > [mailto:hlcoders-boun...@list.valvesoftware.com] On Behalf Of > Charkrid Pornpitackchaikul > Sent: March-18-09 5:13 AM > To: hlcoders@list.valvesoftware.com > Subject: [hlcoders] UTIL_EntitiesInBox cause a game to freeze. > > Hi, > I just adjust my melee attack collision code to use > UTIL_EntitiesInBox() so it support multiple target hit. But > the function > is enter a finite loop and never return. I can't debug more deeper, > because I don't have a engine code. Does anyone counter this problem? > Please help me with this. > > Thanks in advance. > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list > archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders