aboutsummaryrefslogtreecommitdiff
path: root/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.cpp')
-rw-r--r--gfx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx.cpp b/gfx.cpp
index b5eeee5076..f2020fab92 100644
--- a/gfx.cpp
+++ b/gfx.cpp
@@ -231,7 +231,7 @@ void Scumm::setCameraAt(int pos_x, int pos_y) {
if(_features & GF_AFTER_V7) {
CameraData *cd = &camera;
- Point old;
+ ScummPoint old;
old = cd->_cur;
@@ -1641,7 +1641,7 @@ void Gdi::clearUpperMask() {
);
}
-void Scumm::clampCameraPos(Point *pt) {
+void Scumm::clampCameraPos(ScummPoint *pt) {
if (pt->x < _vars[VAR_CAMERA_MIN_X])
pt->x = _vars[VAR_CAMERA_MIN_X];
@@ -1659,7 +1659,7 @@ void Scumm::clampCameraPos(Point *pt) {
void Scumm::moveCamera() {
if(_features & GF_AFTER_V7) {
CameraData *cd = &camera;
- Point old = cd->_cur;
+ ScummPoint old = cd->_cur;
Actor *a;
if (cd->_follows) {