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/actions/target.cpp | |
parent | 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (diff) | |
download | ManaVerse-954d4527558bbf797fd0389b0400fb05963ff96b.tar.gz ManaVerse-954d4527558bbf797fd0389b0400fb05963ff96b.tar.bz2 ManaVerse-954d4527558bbf797fd0389b0400fb05963ff96b.tar.xz ManaVerse-954d4527558bbf797fd0389b0400fb05963ff96b.zip |
Add some more missing consts.
Diffstat (limited to 'src/actions/target.cpp')
-rw-r--r-- | src/actions/target.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/actions/target.cpp b/src/actions/target.cpp index f4a177b5d..4e0b46cd3 100644 --- a/src/actions/target.cpp +++ b/src/actions/target.cpp @@ -89,11 +89,13 @@ impHandler0(contextMenu) { if (!localPlayer) return false; - Being *const target = localPlayer->getTarget(); + const Being *const target = localPlayer->getTarget(); if (!target) return true; - popupMenu->showPopup(target->getPixelX(), target->getPixelY(), target); + popupMenu->showPopup(target->getPixelX(), + target->getPixelY(), + target); return true; } |