Fixed abort casting when player dies.
Contributed by Sahar.
This commit is contained in:
		| @@ -119,12 +119,13 @@ public abstract class Playable extends Creature | ||||
| 			setDead(true); | ||||
| 		} | ||||
| 		 | ||||
| 		abortAttack(); | ||||
| 		abortCast(); | ||||
| 		 | ||||
| 		// Set target to null and cancel Attack or Cast | ||||
| 		setTarget(null); | ||||
| 		 | ||||
| 		// Abort casting after target has been cancelled. | ||||
| 		abortAttack(); | ||||
| 		abortCast(); | ||||
| 		 | ||||
| 		// Stop movement | ||||
| 		stopMove(null); | ||||
| 		 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDevelopment
					MobiusDevelopment