mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 04:42:20 +02:00
fix compile warning on linux
This commit is contained in:
parent
c12ae9f3f0
commit
39fcb762a7
1 changed files with 4 additions and 1 deletions
|
@ -128,7 +128,10 @@ const Owner Space::getOwner(int32_t proxyID) const {
|
|||
}
|
||||
|
||||
uint8_t Space::getRegion(int32_t proxyID) const {
|
||||
return _IDAllocator.checkIndex(proxyID) ? _proxies[proxyID].region : Region::INVALID;
|
||||
if (_IDAllocator.checkIndex(proxyID)) {
|
||||
return _proxies[proxyID].region;
|
||||
}
|
||||
return (uint8_t)Region::INVALID;
|
||||
}
|
||||
|
||||
void Space::clear() {
|
||||
|
|
Loading…
Reference in a new issue