I am working with a procedurally generated tilemap dungeon. I have enemies that spawn in that utilize an A* algorithm to path find to the player. The player can launch little fireballs that destroy terrain, however, upon destruction, the A* grid that shows available paths does not update. How would I go about updating the A* path grid upon the destruction of the tile? Additionally, if anyone has any tips on how to make for smoother turns on enemy pathfinding AI, the enemies sometimes get stuck on corners so any info would be greatly appreciated!