Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9616 in orxonox.OLD for branches/proxy


Ignore:
Timestamp:
Jul 30, 2006, 12:55:56 PM (18 years ago)
Author:
bensch
Message:

better range

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/proxy/src/world_entities/npcs/network_turret.cc

    r9615 r9616  
    117117    diffVec = ( (*entity)->getAbsCoor() - this->getAbsCoor() );
    118118
    119     if ( diffVec.len() < 100.0 )//&&  acos( (this->source->getAbsDirX()).dot(diffVec)/(diffVec.len() * (this->source->getAbsDirX()).len() ) )  < angle)
     119    if ( diffVec.len() < 400.0 )//&&  acos( (this->source->getAbsDirX()).dot(diffVec)/(diffVec.len() * (this->source->getAbsDirX()).len() ) )  < angle)
    120120    {
    121121      //if (this->getParent() != (*entity))
Note: See TracChangeset for help on using the changeset viewer.