aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v2.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-08-17 20:30:20 -0700
committerPaul Gilbert2018-08-17 20:30:20 -0700
commit11e33ba3fc1b65789358485fa50cdbc0cf26aac7 (patch)
treeebb245cf6617e1ac0b35bf3681307bcbc541b230 /engines/gob/inter_v2.cpp
parentc8d3af3874d7c814a9f1f03ad740c3e9f8386eaa (diff)
downloadscummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.gz
scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.tar.bz2
scummvm-rg350-11e33ba3fc1b65789358485fa50cdbc0cf26aac7.zip
JANITORIAL: Removing trailing spaces after int casts
Diffstat (limited to 'engines/gob/inter_v2.cpp')
-rw-r--r--engines/gob/inter_v2.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp
index 1e8eddeef0..d61b1c94d1 100644
--- a/engines/gob/inter_v2.cpp
+++ b/engines/gob/inter_v2.cpp
@@ -872,13 +872,13 @@ void Inter_v2::o2_scroll() {
int16 curX;
int16 curY;
- startX = CLIP((int) _vm->_game->_script->readValExpr(), 0,
+ startX = CLIP((int)_vm->_game->_script->readValExpr(), 0,
_vm->_video->_surfWidth - _vm->_width);
- startY = CLIP((int) _vm->_game->_script->readValExpr(), 0,
+ startY = CLIP((int)_vm->_game->_script->readValExpr(), 0,
_vm->_video->_surfHeight - _vm->_height);
- endX = CLIP((int) _vm->_game->_script->readValExpr(), 0,
+ endX = CLIP((int)_vm->_game->_script->readValExpr(), 0,
_vm->_video->_surfWidth - _vm->_width);
- endY = CLIP((int) _vm->_game->_script->readValExpr(), 0,
+ endY = CLIP((int)_vm->_game->_script->readValExpr(), 0,
_vm->_video->_surfHeight - _vm->_height);
stepX = _vm->_game->_script->readValExpr();
stepY = _vm->_game->_script->readValExpr();
@@ -886,10 +886,10 @@ void Inter_v2::o2_scroll() {
curX = startX;
curY = startY;
while (!_vm->shouldQuit() && ((curX != endX) || (curY != endY))) {
- curX = stepX > 0 ? MIN(curX + stepX, (int) endX) :
- MAX(curX + stepX, (int) endX);
- curY = stepY > 0 ? MIN(curY + stepY, (int) endY) :
- MAX(curY + stepY, (int) endY);
+ curX = stepX > 0 ? MIN(curX + stepX, (int)endX) :
+ MAX(curX + stepX, (int)endX);
+ curY = stepY > 0 ? MIN(curY + stepY, (int)endY) :
+ MAX(curY + stepY, (int)endY);
_vm->_draw->_scrollOffsetX = curX;
_vm->_draw->_scrollOffsetY = curY;