*** empty log message ***

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@472 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2006-11-05 17:41:27 +00:00
parent 7d429be232
commit 1802cace77
35 changed files with 960 additions and 620 deletions
+3 -3
View File
@@ -1876,7 +1876,7 @@ void CBot::CheckFOV()
TraceLine(origin, dest, m_pMyEnt, false, &tr);
int cx = fast_f2nat(tr.end.x), cy = fast_f2nat(tr.end.y);
int cx = int(tr.end.x), cy = int(tr.end.y);
short CubesInWater=0;
for(int x=cx-1;x<=(cx+1);x++)
{
@@ -1954,8 +1954,8 @@ bool CBot::WaterNav()
AddDebugText("WaterNav");
// Find the nearest and reachable cube which isn't underwater
int cx = fast_f2nat(m_pMyEnt->o.x);
int cy = fast_f2nat(m_pMyEnt->o.y);
int cx = int(m_pMyEnt->o.x);
int cy = int(m_pMyEnt->o.y);
float flNearestDist = 9999.0f, flDist;
if (OUTBORD(cx, cy)) return false;