78
48
                        {
48
                        {
49
                            var StoppedCell = (int)Args[0];
49
                            var StoppedCell = (int)Args[0];
50
 
50
 
 
 
51
                            // on apell                            
 
 
52
                            base.EndExecute();
 
 
53
 
51
                            this.myField.ActorMoved(this.myMovementPath, this.Actor, StoppedCell);
54
                            this.myField.ActorMoved(this.myMovementPath, this.Actor, StoppedCell);
52
 
 
 
53
                            base.EndExecute();
 
 
54
                        }
55
                        }
55
 
56
 
56
                        this.myAborted = true;
57
                        this.myAborted = true;
...
 
...
 
69
                    // mouvement stoppé ?
70
                    // mouvement stoppé ?
70
                    if (!this.myAborted)
71
                    if (!this.myAborted)
71
                    {
72
                    {
72
                        // on retire de la cell
 
 
73
                        this.myField.ActorMoved(this.myMovementPath, this.Actor, this.myMovementPath.EndCell);
 
 
74
 
 
 
75
                        // on apell                            
73
                        // on apell                            
76
                        base.EndExecute();
74
                        base.EndExecute();
 
 
75
 
 
 
76
                        // on retire de la cell
 
 
77
                        this.myField.ActorMoved(this.myMovementPath, this.Actor, this.myMovementPath.EndCell);                      
77
                    }
78
                    }
78
                }
79
                }
79
            }
80
            }