Changeset 290 for trunk/src/game/Player.cpp
- Timestamp:
- 11/22/08 16:14:42 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Player.cpp
r284 r290 1017 1017 CheckExploreSystem(); 1018 1018 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 1019 1026 // Update items that have just a limited lifetime 1020 1027 if (now>m_Last_tick) … … 5267 5274 y = GetPositionY(); 5268 5275 z = GetPositionZ(); 5276 5277 // group update 5278 if(GetGroup() && (old_x != x || old_y != y)) 5279 SetGroupUpdateFlag(GROUP_UPDATE_FLAG_POSITION); 5269 5280 } 5270 5281 … … 5273 5284 5274 5285 CheckExploreSystem(); 5275 5276 // group update5277 if(GetGroup())5278 SetGroupUpdateFlag(GROUP_UPDATE_FLAG_POSITION);5279 5286 5280 5287 return true;