mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-30 12:50:53 +00:00
Changed: Use std::numeric_limits instead of ~0
This commit is contained in:
parent
6ef915ae81
commit
f4a8bed436
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue