From 3fbb3242ee03a32769ca2b21c07c2dc32f3d1529 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Tue, 6 Jul 2021 21:33:35 +0800 Subject: [PATCH] Remove unused value --- .../egs_sheets/egs_static_game_sheet.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ryzom/server/src/entities_game_service/egs_sheets/egs_static_game_sheet.cpp b/ryzom/server/src/entities_game_service/egs_sheets/egs_static_game_sheet.cpp index 08cb1e3ff..0b9c52a0a 100644 --- a/ryzom/server/src/entities_game_service/egs_sheets/egs_static_game_sheet.cpp +++ b/ryzom/server/src/entities_game_service/egs_sheets/egs_static_game_sheet.cpp @@ -600,11 +600,6 @@ void CStaticCreatures::readGeorges( const NLMISC::CSmartPtr &f /////////////////////////////////////////////////////// // Derivated Scores /////////////////////////////////////////////////////// - uint32 playerSkillLevel = 1; - if ( !root.getValueByName( playerSkillLevel, "Basics.PlayerSkillLevel" ) ) - { - nlwarning("ERROR For creature sheet %s, cannot read Basics.PlayerSkillLevel, creature HP may be inacurate !", sheetId.toString().c_str() ); - } _NbPlayers = 1; if ( !root.getValueByName( _NbPlayers, "Basics.NbPlayers" ) ) { @@ -1026,7 +1021,6 @@ CAttributeMapping::CAttributeMapping() _StaticAttributeMap.insert(make_pair(std::string("basics.gender"), at_gender)); _StaticAttributeMap.insert(make_pair(std::string("basics.size"), at_size)); _StaticAttributeMap.insert(make_pair(std::string("basics.level"), at_level)); - _StaticAttributeMap.insert(make_pair(std::string("basics.playerskilllevel"), at_player_skill_level)); _StaticAttributeMap.insert(make_pair(std::string("basics.nbplayers"), at_nb_players)); _StaticAttributeMap.insert(make_pair(std::string("basics.playerhplevel"), at_player_hp_level)); _StaticAttributeMap.insert(make_pair(std::string("basics.nbhittokillplayer"), at_nb_hit_to_kill_player));