aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2015-01-30 07:24:22 +0100
committerStrangerke2015-01-30 07:24:22 +0100
commit38f7aba41464d2c7b623f1ce4616d89c4243352a (patch)
treea97929f626ecfc76fbeccb61b2ace6a3330d65c8 /engines/access
parent576ad394f33a3ce923057007f51b7abfa5c8e277 (diff)
downloadscummvm-rg350-38f7aba41464d2c7b623f1ce4616d89c4243352a.tar.gz
scummvm-rg350-38f7aba41464d2c7b623f1ce4616d89c4243352a.tar.bz2
scummvm-rg350-38f7aba41464d2c7b623f1ce4616d89c4243352a.zip
ACCESS: MM - Remove a couple of useless variables
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/bubble_box.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/access/bubble_box.cpp b/engines/access/bubble_box.cpp
index 3d1eacbda1..d3254d4773 100644
--- a/engines/access/bubble_box.cpp
+++ b/engines/access/bubble_box.cpp
@@ -604,10 +604,8 @@ int BubbleBox::doBox_v1(int item, int box, int &btnSelected) {
int ICON1Y = 0;
int ICON2T = 0;
int ICON2X = 0;
- int ICON2Y = 0;
int ICON3T = 0;
int ICON3X = 0;
- int ICON3Y = 0;
if (_btnId1) {
ICON1T = _btnId1;
ICON1X = BICONSTARTX + _btnX1;
@@ -617,14 +615,12 @@ int BubbleBox::doBox_v1(int item, int box, int &btnSelected) {
if (_btnId2) {
ICON2T = _btnId2;
ICON2X = BICONSTARTX + _btnX2;
- ICON2Y = BICONSTARTY;
- _vm->_screen->plotImage(icons, ICON2T + 10, Common::Point(ICON2X, ICON2Y));
+ _vm->_screen->plotImage(icons, ICON2T + 10, Common::Point(ICON2X, BICONSTARTY));
if (_btnId3) {
ICON3T = _btnId3;
ICON3X = BICONSTARTX + _btnX3;
- ICON3Y = BICONSTARTY;
- _vm->_screen->plotImage(icons, ICON3T + 10, Common::Point(ICON3X, ICON3Y));
+ _vm->_screen->plotImage(icons, ICON3T + 10, Common::Point(ICON3X, BICONSTARTY));
}
}
}