From 954d4527558bbf797fd0389b0400fb05963ff96b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 23:58:09 +0300 Subject: Add some more missing consts. --- src/actormanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actormanager.cpp') 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(actor); + const Being *const being = static_cast(actor); ChatObject *const chat = being->getChat(); if (chat && chat->chatId == newChat->chatId) { -- cgit v1.2.3-70-g09d2