summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index c9fb63ac8..fb5d2a7b1 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -2104,10 +2104,10 @@ void ActorManager::updateRoom(const ChatObject *const newChat)
for_actors
{
- ActorSprite *const actor = *it;
+ const ActorSprite *const actor = *it;
if (actor->getType() == ActorType::Npc)
{
- const Being *const being = static_cast<Being*>(actor);
+ const Being *const being = static_cast<const Being*>(actor);
ChatObject *const chat = being->getChat();
if (chat && chat->chatId == newChat->chatId)
{