*** empty log message ***
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@526 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -176,7 +176,7 @@ int closestent() // used for delent and edit mode ent display
|
||||
entity &e = ents[i];
|
||||
if(e.type==NOTUSED) continue;
|
||||
vec v = { e.x, e.y, e.z };
|
||||
vdist(dist, t, player1->o, v);
|
||||
float dist = v.dist(player1->o);
|
||||
if(dist<bdist)
|
||||
{
|
||||
best = i;
|
||||
|
||||
Reference in New Issue
Block a user