aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2015-01-30 07:26:39 +0100
committerStrangerke2015-01-30 07:26:39 +0100
commit5159a3851b801229dd16bfcc1c4a6662f8d21ad0 (patch)
tree335352e2f99a42cc42dc5e05ee870a8e968900d5 /engines/access
parent38f7aba41464d2c7b623f1ce4616d89c4243352a (diff)
downloadscummvm-rg350-5159a3851b801229dd16bfcc1c4a6662f8d21ad0.tar.gz
scummvm-rg350-5159a3851b801229dd16bfcc1c4a6662f8d21ad0.tar.bz2
scummvm-rg350-5159a3851b801229dd16bfcc1c4a6662f8d21ad0.zip
ACCESS: Clarify calculation precedence for '+' and '?'
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/scripts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index ce11092588..53d219d7ef 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -853,7 +853,7 @@ void Scripts::cmdTexChoice() {
Common::Array<Common::Rect> responseCoords;
responseCoords.push_back(_vm->_bubbleBox->_bounds);
- _vm->_screen->_printOrg.y = _vm->_bubbleBox->_bounds.bottom + (_vm->getGameID() == GType_MartianMemorandum) ? 20 : 11;
+ _vm->_screen->_printOrg.y = _vm->_bubbleBox->_bounds.bottom + ((_vm->getGameID() == GType_MartianMemorandum) ? 20 : 11);
findNull();
@@ -866,7 +866,7 @@ void Scripts::cmdTexChoice() {
_vm->_bubbleBox->calcBubble(tmpStr);
_vm->_bubbleBox->printBubble(tmpStr);
responseCoords.push_back(_vm->_bubbleBox->_bounds);
- _vm->_screen->_printOrg.y = _vm->_bubbleBox->_bounds.bottom + (_vm->getGameID() == GType_MartianMemorandum) ? 20 : 11;
+ _vm->_screen->_printOrg.y = _vm->_bubbleBox->_bounds.bottom + ((_vm->getGameID() == GType_MartianMemorandum) ? 20 : 11);
}
findNull();
@@ -881,7 +881,7 @@ void Scripts::cmdTexChoice() {
_vm->_bubbleBox->calcBubble(tmpStr);
_vm->_bubbleBox->printBubble(tmpStr);
responseCoords.push_back(_vm->_bubbleBox->_bounds);
- _vm->_screen->_printOrg.y = _vm->_bubbleBox->_bounds.bottom + (_vm->getGameID() == GType_MartianMemorandum) ? 20 : 11;
+ _vm->_screen->_printOrg.y = _vm->_bubbleBox->_bounds.bottom + ((_vm->getGameID() == GType_MartianMemorandum) ? 20 : 11);
}
findNull();