From 1680d159ecbf75591d2dab1416ff8144c27d4de5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Jul 2014 12:25:16 +0300 Subject: Rename player_node variable into localPlayer. --- src/input/inputmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input') diff --git a/src/input/inputmanager.cpp b/src/input/inputmanager.cpp index 6cb2c998b..742181eef 100644 --- a/src/input/inputmanager.cpp +++ b/src/input/inputmanager.cpp @@ -686,7 +686,7 @@ void InputManager::updateConditionMask() if (Game::instance()) mMask |= InputCondition::INGAME; - if (!player_node || player_node->getFollow().empty()) + if (!localPlayer || localPlayer->getFollow().empty()) mMask |= InputCondition::NOFOLLOW; } -- cgit v1.2.3-70-g09d2