Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
keybind.cpp: Fix wrap-around behavior in
kf_JumpToResourceExtractor()
Previously, upon reaching the `end()` of `apsExtractorLists[selectedPlayer]`, the function erroneously reported the "Unable to locate any oil derricks!" message until the next iteration, which needed to check for `std::next(*psOldRE)`, but this check was missing. Signed-off-by: Pavel Solodovnikov <[email protected]>
- Loading branch information