From d6329c13a589affed482783272db23e4980a5507 Mon Sep 17 00:00:00 2001 From: Bertram Date: Mon, 1 Feb 2010 23:59:14 +0100 Subject: Small cleanups. --- src/gui/viewport.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/viewport.cpp') 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()); } -- cgit v1.2.3-70-g09d2