Changeset 2257

Show
Ignore:
Timestamp:
07/10/08 13:01:36 (3 months ago)
Author:
Julian
Message:

When stopMove(null) is called, there`s no need for force knownlist update, because GameTimeController? will send event Arived when its removed from moving objects

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/L2_GameServer/java/net/sf/l2j/gameserver/model/L2Character.java

    r2245 r2257  
    39983998         * 
    39993999         */ 
    4000         public void stopMove(L2CharPosition pos) { stopMove(pos, true); } 
     4000        public void stopMove(L2CharPosition pos) { stopMove(pos, false); } 
    40014001        public void stopMove(L2CharPosition pos, boolean updateKnownObjects) 
    40024002        { 
     
    40164016                } 
    40174017                broadcastPacket(new StopMove(this)); 
    4018                 if (Config.MOVE_BASED_KNOWNLIST) this.getKnownList().findObjects(); 
     4018                if (Config.MOVE_BASED_KNOWNLIST && updateKnownObjects) this.getKnownList().findObjects(); 
    40194019        } 
    40204020