summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 398d82f48..11deec011 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -4835,6 +4835,8 @@ void Being::setTileCoords(const int x, const int y) restrict2
void Being::setMap(Map *restrict const map) restrict2
{
+ mCastEndTime = 0;
+ delete2(mCastingEffect);
ActorSprite::setMap(map);
if (mMap)
{