aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-10 21:49:59 +0000
committerMax Horn2003-05-10 21:49:59 +0000
commitacb35fc915284cb3b194ba8864eb24e39fff992e (patch)
treedfc1dd77fcda48c14ee8ea0e898cdbd023a14344 /scumm/object.cpp
parente5fe73726a554d312f30682508d2474c8734b0ef (diff)
downloadscummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.tar.gz
scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.tar.bz2
scummvm-rg350-acb35fc915284cb3b194ba8864eb24e39fff992e.zip
renamed _scrWidth/_scrHeight -> _roomWidht/_roomHeight, and _realWidth/_realHeight -> _screenWidth/_screenHeight (inspired by MadMoose, but I'll take the blame - still this seems much more logical & intuitive)
svn-id: r7423
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 4e1df8a4f6..1a616c40a9 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -1336,7 +1336,7 @@ void Scumm::enqueueObject(int objectNumber, int objectX, int objectY, int object
eo = &_blastObjectQueue[_blastObjectQueuePos++];
eo->number = objectNumber;
eo->posX = objectX + (camera._cur.x & 7);
- eo->posY = objectY + (camera._cur.y - (_realHeight / 2));
+ eo->posY = objectY + (camera._cur.y - (_screenHeight / 2));
if (objectWidth == 0) {
od = &_objs[getObjectIndex(objectNumber)];
eo->width = od->width;