Show
Ignore:
Timestamp:
11/22/08 16:14:42 (17 years ago)
Author:
yumileroy
Message:

*Update to Mangos 6842. Source: Mangos.

Original author: megamage
Date: 2008-11-22 09:51:35-06:00

Files:
1 modified

Legend:

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

    r284 r290  
    10171017    CheckExploreSystem(); 
    10181018 
     1019    /*if(isCharmed()) 
     1020    { 
     1021        if(Unit *charmer = GetCharmer()) 
     1022            if(charmer->GetTypeId() == TYPEID_UNIT && ((Creature*)charmer)->AI()) 
     1023                ((Creature*)charmer)->AI()->UpdateCharmedAI(this, p_time); 
     1024    }*/ 
     1025 
    10191026    // Update items that have just a limited lifetime 
    10201027    if (now>m_Last_tick) 
     
    52675274        y = GetPositionY(); 
    52685275        z = GetPositionZ(); 
     5276 
     5277        // group update 
     5278        if(GetGroup() && (old_x != x || old_y != y)) 
     5279            SetGroupUpdateFlag(GROUP_UPDATE_FLAG_POSITION); 
    52695280    } 
    52705281 
     
    52735284 
    52745285    CheckExploreSystem(); 
    5275  
    5276     // group update 
    5277     if(GetGroup()) 
    5278         SetGroupUpdateFlag(GROUP_UPDATE_FLAG_POSITION); 
    52795286 
    52805287    return true;