From 9848b49a7677e3c326b72593cc26c8afdaa068f0 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 29 Apr 2013 10:34:33 +0200 Subject: [PATCH] Fixed: Assign instead of a comparison --- code/ryzom/common/src/game_share/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/common/src/game_share/object.cpp b/code/ryzom/common/src/game_share/object.cpp index a034ddb2e..5f5394abf 100644 --- a/code/ryzom/common/src/game_share/object.cpp +++ b/code/ryzom/common/src/game_share/object.cpp @@ -507,7 +507,7 @@ bool CObject::getShortestName(std::string &instanceId, std::string &attrName, si return false; } instanceId = parent2->getAttr("InstanceId")->toString(); - attrName == parent2->getKey(index2); + attrName = parent2->getKey(index2); position = index; return true; }