summaryrefslogtreecommitdiff
path: root/src/gui/minimap.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-07 19:22:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-07 21:38:21 +0300
commite7d34cc22d3bfd0dd44b014af1bd5fdc891141aa (patch)
treef7fa5a490a99cd4c08d051f44154d5d0e4d26222 /src/gui/minimap.cpp
parentffeffa2314dbe03e0ced58e0c465760b54908690 (diff)
downloadmanaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.gz
manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.bz2
manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.tar.xz
manaplus-e7d34cc22d3bfd0dd44b014af1bd5fdc891141aa.zip
fix more style, add consts.
Diffstat (limited to 'src/gui/minimap.cpp')
-rw-r--r--src/gui/minimap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/minimap.cpp b/src/gui/minimap.cpp
index c9362471f..8394af227 100644
--- a/src/gui/minimap.cpp
+++ b/src/gui/minimap.cpp
@@ -349,12 +349,12 @@ void Minimap::draw(gcn::Graphics *graphics)
if (player_node->isInParty())
{
- Party *const party = player_node->getParty();
+ const Party *const party = player_node->getParty();
if (party)
{
const PartyMember *const m = party->getMember(
player_node->getName());
- Party::MemberList *const members = party->getMembers();
+ const Party::MemberList *const members = party->getMembers();
if (m && members)
{
const std::string curMap = m->getMap();