Changeset 10730 in orxonox.OLD for branches/presentation/src/ai
- Timestamp:
- Jun 20, 2007, 1:19:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/ai/ai_team.cc
r10515 r10730 55 55 Vector targetPos=target->getAbsCoor(); 56 56 float distanceToPlayer=(targetPos-position).len(); 57 58 int zNorm=(position.z>targetPos.z)?1:-1; 57 // int zNorm=(position.z>targetPos.z)?1:-1; // unused var 59 58 60 59 if(distanceToPlayer<attackDistance+60){ //### change wakeup distance here
Note: See TracChangeset
for help on using the changeset viewer.