*** 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:
Lee Salzman
2006-11-07 18:38:15 +00:00
parent eeaca46d08
commit de8d0d1584
17 changed files with 218 additions and 235 deletions
+2 -2
View File
@@ -229,8 +229,8 @@ void CACBot::CheckItemPickup()
if(OUTBORD(e.x, e.y)) continue;
vec v = { e.x, e.y, S(e.x, e.y)->floor+m_pMyEnt->eyeheight };
vdist(dist, t, m_pMyEnt->o, v);
if(dist<2.5)
if(v.dist(m_pMyEnt->o)<2.5)
{
PickUp(i);
}