diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 23:58:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 23:58:09 +0300 |
commit | 954d4527558bbf797fd0389b0400fb05963ff96b (patch) | |
tree | ec90371d34f88b3e22e9d65ad71d349ee53f62fe /src/actormanager.cpp | |
parent | 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (diff) | |
download | plus-954d4527558bbf797fd0389b0400fb05963ff96b.tar.gz plus-954d4527558bbf797fd0389b0400fb05963ff96b.tar.bz2 plus-954d4527558bbf797fd0389b0400fb05963ff96b.tar.xz plus-954d4527558bbf797fd0389b0400fb05963ff96b.zip |
Add some more missing consts.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 4 |
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) { |