Changeset 183 for trunk

Show
Ignore:
Timestamp:
11/19/08 13:44:12 (17 years ago)
Author:
yumileroy
Message:

[svn] Fix a typo in canSeeOrDetect().

Original author: megamage
Date: 2008-11-06 16:34:54-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Player.cpp

    r178 r183  
    1724817248    { 
    1724917249        // Units far than max visible distance for creature or not in our map are not visible too 
    17250         if (!target->IsWithinDistInMap(u, target->isActive()  
     17250        if (!target->IsWithinDistInMap(u, u->isActive()  
    1725117251                ? (MAX_VISIBILITY_DISTANCE - (inVisibleList ? 0.0f : World::GetVisibleUnitGreyDistance())) 
    1725217252                : (World::GetMaxVisibleDistanceForCreature() + (inVisibleList ? World::GetVisibleUnitGreyDistance() : 0.0f))))