From 75f490d3944c717c12763e576e31f15dce72dff3 Mon Sep 17 00:00:00 2001 From: Nimetu Date: Wed, 18 Aug 2021 14:19:36 +0300 Subject: [PATCH] Fix comparing same variable twice in CRingAccess --- ryzom/common/src/game_share/ring_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryzom/common/src/game_share/ring_access.cpp b/ryzom/common/src/game_share/ring_access.cpp index 1d178efad..5c2f4d6d5 100644 --- a/ryzom/common/src/game_share/ring_access.cpp +++ b/ryzom/common/src/game_share/ring_access.cpp @@ -156,7 +156,7 @@ void CRingAccess::init() CXMLAutoPtr sheetClientPtr( (const char*) xmlGetProp(entityAccess, (xmlChar*) "sheetClient") ); CXMLAutoPtr sheetPtr( (const char*) xmlGetProp(entityAccess, (xmlChar*) "sheetServer") ); - if (!namePtr.getDatas()|| !packagePtr.getDatas() || !sheetPtr.getDatas() || !sheetPtr.getDatas()) + if (!namePtr.getDatas()|| !packagePtr.getDatas() || !sheetClientPtr.getDatas() || !sheetPtr.getDatas()) { nlerror( "Syntax error in %s", pathFileName.c_str()); return;