diff options
-rw-r--r-- | engines/bladerunner/ui/esper.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/bladerunner/ui/esper.cpp b/engines/bladerunner/ui/esper.cpp index de41a1958e..fd94977fbc 100644 --- a/engines/bladerunner/ui/esper.cpp +++ b/engines/bladerunner/ui/esper.cpp @@ -1765,6 +1765,14 @@ void ESPER::updateSelection() { } } + if (left > right) { + SWAP(left, right); + } + + if (top > bottom) { + SWAP(top, bottom); + } + _regionSelected = findRegion(Common::Rect(left, top, right, bottom)); if (_regionSelected >= 0) { _regionSelectedAck = true; |