summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/actorspritemanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp
index b6a8a5b4c..61534c340 100644
--- a/src/actorspritemanager.cpp
+++ b/src/actorspritemanager.cpp
@@ -610,9 +610,13 @@ void ActorSpriteManager::logic()
void ActorSpriteManager::clear()
{
+ if (beingEquipmentWindow)
+ beingEquipmentWindow->setBeing(0);
+
if (player_node)
{
player_node->setTarget(0);
+ player_node->unSetPickUpTarget();
mActors.erase(player_node);
}