show/hide sets of sparklies in editmode

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5441 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
flowtron
2010-07-22 16:40:18 +00:00
parent b70612fa8b
commit deb082b15b
3 changed files with 54 additions and 1 deletions
+3
View File
@@ -141,6 +141,9 @@ int closestent() // used for delent and edit mode ent display
entity &e = ents[i];
if(e.type==NOTUSED) continue;
if(clenttype != NOTUSED && e.type != clenttype) continue;
bool ice = false;
loopk(eh_ents.length()) if(eh_ents[k]==e.type) ice = true;
if(ice) continue;
vec v(e.x, e.y, e.z);
float dist = v.dist(camera1->o);
if(j)