Fix unnecessary exception use in Map::getSectorXXX (#8792)
authorJozef Behran <jozuejozef@gmail.com>
Tue, 13 Aug 2019 17:58:27 +0000 (19:58 +0200)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Tue, 13 Aug 2019 17:58:27 +0000 (19:58 +0200)
commit72b7a957af331c7481a60705d1a35a78b5afb494
treeab862023f10383403daa2962f087d0890e187e76
parent539f016c1b1a706da2c113435ec60bb39c868f4b
Fix unnecessary exception use in Map::getSectorXXX (#8792)

The Map::getSectorNoGenerate throws an exception but no other
code is really dependent on that. Fix the odd instance of
misuse in ClientMap::emergeSector and remove the exception
throwing version of the method along with the "NoEx" suffixes
in the names of these methods.
src/client/clientmap.cpp
src/map.cpp
src/map.h