summaryrefslogtreecommitdiff
path: root/src/gui/viewport.cpp
diff options
context:
space:
mode:
authorBertram <bertram@cegetel.net>2010-02-01 23:59:14 +0100
committerBertram <bertram@cegetel.net>2010-02-01 23:59:14 +0100
commitd6329c13a589affed482783272db23e4980a5507 (patch)
tree9f59a4f5f02d36add0c42f22b36a980c9428cc66 /src/gui/viewport.cpp
parent35bddde62fe1b7e60a78e2f699e1035ea6579066 (diff)
downloadmana-d6329c13a589affed482783272db23e4980a5507.tar.gz
mana-d6329c13a589affed482783272db23e4980a5507.tar.bz2
mana-d6329c13a589affed482783272db23e4980a5507.tar.xz
mana-d6329c13a589affed482783272db23e4980a5507.zip
Small cleanups.
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r--src/gui/viewport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 76bf5a22..1a34fa96 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -109,7 +109,7 @@ void Viewport::draw(gcn::Graphics *gcnGraphics)
// Ensure the client doesn't freak out if a feature localplayer uses
// is dependent on a map.
- player_node->mMapInitialized = true;
+ player_node->setMapInitialized(true);
// Avoid freaking out when tick_time overflows
if (tick_time < lastTick)
@@ -201,9 +201,9 @@ void Viewport::draw(gcn::Graphics *gcnGraphics)
}
}
- if (player_node->mUpdateName)
+ if (player_node->getCheckNameSetting())
{
- player_node->mUpdateName = false;
+ player_node->setCheckNameSetting(false);
player_node->setName(player_node->getName());
}