summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 23:58:09 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 23:58:09 +0300
commit954d4527558bbf797fd0389b0400fb05963ff96b (patch)
treeec90371d34f88b3e22e9d65ad71d349ee53f62fe /src/actions
parent7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (diff)
downloadplus-954d4527558bbf797fd0389b0400fb05963ff96b.tar.gz
plus-954d4527558bbf797fd0389b0400fb05963ff96b.tar.bz2
plus-954d4527558bbf797fd0389b0400fb05963ff96b.tar.xz
plus-954d4527558bbf797fd0389b0400fb05963ff96b.zip
Add some more missing consts.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/target.cpp6
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;
}