View Single Post
Re: Bug-NUM_FOR_EDICT Error: Bad Pointer
Old
  (#126)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Bug-NUM_FOR_EDICT Error: Bad Pointer - 26-05-2004

It's the same source, only difference basically, each time there is a FIND_ENTITY_something (or FindEntitySomething) just ensure the edict_t pointer that is passed in is reset to NULL before entering the loop



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."