diff --git a/code/ryzom/server/src/entities_game_service/phrase_manager/fg_extraction_phrase.cpp b/code/ryzom/server/src/entities_game_service/phrase_manager/fg_extraction_phrase.cpp index 6032adcfc..813928cd1 100644 --- a/code/ryzom/server/src/entities_game_service/phrase_manager/fg_extraction_phrase.cpp +++ b/code/ryzom/server/src/entities_game_service/phrase_manager/fg_extraction_phrase.cpp @@ -544,6 +544,7 @@ bool CFgExtractionPhrase::validate() return false; // has disappeared } +#ifdef RYZOM_FORGE_CRAFT_TOOL // test if tool have enough quality sint depositQ = (sint)harvestSource->forageSite()->deposit()->maxQuality(); @@ -552,6 +553,7 @@ bool CFgExtractionPhrase::validate() PHRASE_UTILITIES::sendDynamicSystemMessage(_ActorRowId, "FORAGE_TOOL_QUALITY_TOO_LOW"); return false; } +#endif // Check the distance from the player to the source (ignoring Z because for tunnel case, player couldn't target the source) const CEntityState& state = player->getState();