Changed: Use std::numeric_limits instead of ~0

--HG--
branch : develop
This commit is contained in:
kervala 2016-06-26 19:43:08 +02:00
parent da94a077b3
commit 2db7ca9729

View file

@ -927,7 +927,7 @@ public:
CEntityCL *pSel = EntitiesMngr.entity(UserEntity->selection()); CEntityCL *pSel = EntitiesMngr.entity(UserEntity->selection());
if (pSel != NULL) if (pSel != NULL)
if (pSel->isForageSource()) if (pSel->isForageSource())
UserEntity->moveToExtractionPhrase(UserEntity->selection(), 2.0f, ~0, ~0, true); UserEntity->moveToExtractionPhrase(UserEntity->selection(), 2.0f, std::numeric_limits<uint>::max(), std::numeric_limits<uint>::max(), true);
} }
} }
}; };