aboutsummaryrefslogtreecommitdiff
path: root/engines/access/amazon
diff options
context:
space:
mode:
authorStrangerke2014-11-12 23:26:25 +0100
committerPaul Gilbert2014-12-12 22:32:02 -0500
commitc74821161b05f27fa4f37afd1f549260fc4d6c90 (patch)
tree072116e3b31a717ae003f5a211606a2557b61580 /engines/access/amazon
parent37431dcedfddbac02b450affa9346d6c2581e673 (diff)
downloadscummvm-rg350-c74821161b05f27fa4f37afd1f549260fc4d6c90.tar.gz
scummvm-rg350-c74821161b05f27fa4f37afd1f549260fc4d6c90.tar.bz2
scummvm-rg350-c74821161b05f27fa4f37afd1f549260fc4d6c90.zip
ACCESS: Fix some issues in plotTorchSpear(), in plotPit() and in ANT()
Diffstat (limited to 'engines/access/amazon')
-rw-r--r--engines/access/amazon/amazon_scripts.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/access/amazon/amazon_scripts.cpp b/engines/access/amazon/amazon_scripts.cpp
index faf2ede386..f75d12fa18 100644
--- a/engines/access/amazon/amazon_scripts.cpp
+++ b/engines/access/amazon/amazon_scripts.cpp
@@ -818,7 +818,7 @@ void AmazonScripts::plotTorchSpear(int indx, const int *&buf) {
ImageEntry ie;
ie._flags = 8;
- ie._spritesPtr = _pObject[62];
+ ie._spritesPtr = _vm->_objectsTable[62];
ie._frameNumber = buf[(idx / 2)];
ie._position = Common::Point(_game->_pitPos.x + buf[(idx / 2) + 1], _game->_pitPos.y + buf[(idx / 2) + 2]);
ie._offsetY = 255;
@@ -829,7 +829,7 @@ void AmazonScripts::plotPit(int indx, const int *&buf) {
int idx = indx;
ImageEntry ie;
ie._flags = 8;
- ie._spritesPtr = _pObject[62];
+ ie._spritesPtr = _vm->_objectsTable[62];
ie._frameNumber = buf[(idx / 2)];
ie._position = Common::Point(_game->_pitPos.x, _game->_pitPos.y);
ie._offsetY = _game->_pitPos.y;
@@ -1005,7 +1005,7 @@ void AmazonScripts::ANT() {
ImageEntry ie;
ie._flags = 8;
- ie._spritesPtr = _pObject[61];
+ ie._spritesPtr = _vm->_objectsTable[61];
ie._frameNumber = buf[(idx / 2)];
ie._position = Common::Point(_game->_antPos.x, _game->_antPos.y);
ie._offsetY = _game->_antPos.y - 70;