From f4a8bed436b5fcb9eceea1d3239d68b6a70bfb60 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 26 Jun 2016 19:43:08 +0200 Subject: [PATCH] Changed: Use std::numeric_limits instead of ~0 --- code/ryzom/client/src/interface_v3/action_handler_game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/interface_v3/action_handler_game.cpp b/code/ryzom/client/src/interface_v3/action_handler_game.cpp index 445e95097..0204a57b0 100644 --- a/code/ryzom/client/src/interface_v3/action_handler_game.cpp +++ b/code/ryzom/client/src/interface_v3/action_handler_game.cpp @@ -927,7 +927,7 @@ public: CEntityCL *pSel = EntitiesMngr.entity(UserEntity->selection()); if (pSel != NULL) if (pSel->isForageSource()) - UserEntity->moveToExtractionPhrase(UserEntity->selection(), 2.0f, ~0, ~0, true); + UserEntity->moveToExtractionPhrase(UserEntity->selection(), 2.0f, std::numeric_limits::max(), std::numeric_limits::max(), true); } } };