diff options
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index c025d9f44..7f4114c1c 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -818,7 +818,11 @@ void ActorManager::logic() if (actor->getId() == localPlayer->getMercenary()) { localPlayer->setMercenary(0); - skillDialog->hideSkills(SkillOwner::Mercenary); + if (skillDialog) + { + skillDialog->hideSkills(SkillOwner::Mercenary); + skillDialog->updateModels(); + } } } if (localPlayer) |