aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-08-17 10:39:00 +0200
committerStrangerke2014-08-17 10:39:00 +0200
commit1ab89400e52da33207a14051410fad01c257d14c (patch)
treed2f454f26712bd347692dd01a937ef0c24abc97f
parentff01ee6807ccd6e5a71ddc945196d68b87f3aa65 (diff)
downloadscummvm-rg350-1ab89400e52da33207a14051410fad01c257d14c.tar.gz
scummvm-rg350-1ab89400e52da33207a14051410fad01c257d14c.tar.bz2
scummvm-rg350-1ab89400e52da33207a14051410fad01c257d14c.zip
ACCESS: Remove two unused variables
-rw-r--r--engines/access/asurface.cpp1
-rw-r--r--engines/access/scripts.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/engines/access/asurface.cpp b/engines/access/asurface.cpp
index 32e54036ad..08caa8a3b2 100644
--- a/engines/access/asurface.cpp
+++ b/engines/access/asurface.cpp
@@ -253,7 +253,6 @@ void ASurface::copyTo(ASurface *dest, const Common::Rect &bounds) {
int scaleY = SCALE_LIMIT * bounds.height() / this->h;
int scaleXCtr = 0, scaleYCtr = 0;
- int y = bounds.top;
for (int yCtr = 0, y = bounds.top; yCtr < this->h; ++yCtr) {
// Handle skipping lines if Y scaling
scaleYCtr += scaleY;
diff --git a/engines/access/scripts.cpp b/engines/access/scripts.cpp
index 2f221d9f52..a4d67c87f1 100644
--- a/engines/access/scripts.cpp
+++ b/engines/access/scripts.cpp
@@ -117,8 +117,6 @@ void Scripts::executeCommand(int commandIndex) {
}
void Scripts::CMDOBJECT() {
- byte id;
-
_vm->_room->_bubbleBox.load(_data);
}